Create an eDiscovery export request.
The response includes an id
, which is then used to check the status of and download your export.
Create eDiscovery export
https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports
Authentication | Personal access token, OAuth integration |
Scope | enterprise.exports:manage |
User role | Enterprise admin |
Billing plans | Enterprise Scale |
string Base ID to create eDiscovery export for. | |
optional< boolean > If set, also export the base as CSVs (in a zipped file). Once the export is
ready for download, the URL to the zip file will be available in the | |
optional< boolean > If set, an email will be sent to the user who initiated the export once the export is ready for download. |
string | |||||||
optional< object > Available once the export completes.
| |||||||
optional< string > If state is | |||||||
"pending" | "processing" | "error" | "done" | |||||||
string A date timestamp in the ISO format, eg:"2018-01-01T00:00:00.000Z" | |||||||
object The user that created the eDiscovery export.
| |||||||
object
|
Error responses
{"error": {"type": "NOT_FOUND"}}
$curl -X POST "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \--data '{"baseId": "appLkNDICXNqxSDhG"}'
$curl -X POST "https://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/exports" \-H "Authorization: Bearer YOUR_TOKEN" \-H "Content-Type: application/json" \--data '{"baseId": "appLkNDICXNqxSDhG","includeCsvFormat": true,"shouldSendEmailOnCompletion": true}'
{"createdTime": "2021-01-01T00:00:00.000Z","id": "etkJkReGfIaW8DZq5","request": {"baseId": "appLkNDICXNqxSDhG","includeCsvFormat": true,"shouldSendEmailOnCompletion": true},"state": "processing","user": {"email": "foo@bar.com","id": "usrL2PNC5o3H4lBEi","name": "Barry Allen"}}