Get the status of an import

GET {{baseUrl}}/imports/:import_id

Query the status of the import for a summary of imported records and failures for each record that could not be imported successfully.

HEADERS

KeyDatatypeRequiredDescription
X-MAGICBELL-API-KEYstring(Required) The (public) API key of your MagicBell project.
X-MAGICBELL-API-SECRETstring(Required) The API secret of your MagicBell project.
Acceptstring

RESPONSES

status: OK

{"import":{"id":"\u003cstring\u003e","status":"processing","summary":{"total":"\u003cinteger\u003e","failures":"\u003cinteger\u003e"},"errors":[{"email":"\u003cstring\u003e","external_id":"\u003cstring\u003e","message":"\u003cstring\u003e"},{"email":"\u003cstring\u003e","external_id":"\u003cstring\u003e","message":"\u003cstring\u003e"}],"failures":{}}}