Contacts
Create Provider Contact Import
Changed onImport contacts from one or more sources on a connected Klaviyo, Mailchimp, or HubSpot account. Processing runs in the background; poll GET /v1/contacts/imports/{id} for status and counts. Each import creates a tag and a saved segment named after the source(s). Unsubscribed contacts stay unsubscribed. Requires API key with audience:write.
post/v1/contacts/imports/provider
Request
- Base URLhttps://api.migma.ai
- URLhttps://api.migma.ai/v1/contacts/imports/provider
- AuthAPI key in header Authorization
Headers
Idempotency-Keystring
Optional key (max 100 chars) for safe retries. Same key + same body within 24h replays the original response (same status and body); same key + a different body returns 409 IDEMPOTENCY_CONFLICT. Scoped per API key.
Request body
Response
Import accepted for background processing
Example response
{
"data": {
"object": "contact_import",
"status": "pending"
}
}Changes
- info
endpoint added
- info