provider Contacts GET
/marketing/contacts/imports/{id} @utdk/sendgrid
/marketing/contacts/imports/{id} Import Contacts Status
**This endpoint can be used to check the status of a contact import job**.
Use the `job_id` from the "Import Contacts," "Add or Update a Contact," or "Delete Contacts" endpoints as the `id` in the path parameter.
If there is an error with your `PUT` request, download the `errors_url` file and open it to view more details.
The job `status` field indicates whether the job is `pending`, `completed`, `errored`, or `failed`.
Pending means not started. Completed means finished without any errors. Errored means finished with some errors. Failed means finshed with all errors, or the job was entirely unprocessable: for example, if you attempt to import file format we do not support.
The `results` object will have fields depending on the job type.
Twilio SendGrid recommends exporting your contacts regularly as a backup to avoid issues or lost data.
- id path required
- string
Try it
Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sendgrid from '@utdk/sendgrid';
await sendgrid.getMarketingContactsImportsId()