Import contacts in bulk
Per-row failures are reported in errors[] under a 200. A row whose channel already belongs to another contact is skipped and its tags are merged onto that contact.
Authentication
The following security requirement applies to this operation.
Read the authentication guideParameters
This operation declares no path, query, header or cookie parameters.
Request body
Bodyobjectrequired
- required
[ "profileId", "contacts" ]
profileIdstringrequired- example
b1c2d3e4f5a6b7c8d9e0f1a2
contactsarrayrequired
At most 1000 rows. The limit lives in code, not in env (CLAUDE.md "Kilitli sozlesmeler").
Array itemobject
displayNamestring- example
Ayse Yilmaz
emailstring- example
[email protected]
companystringavatarUrlstringnotesstringlocalestringtimezonestringtagsarray
Array itemstringisSubscribedbooleanisBlockedbooleanfirstSeenAtstring- format
date-time
accountIdstringexternalIdstringplatformstringdisplayIdentifierstringOriginal schema
{
"$ref": "#/components/schemas/BulkCreateContactsDto"
}Responses
Status codes and shapes declared for this operation. Read each description for the meaning of that response.
200Response schema
Response 200object
- required
[ "created", "skipped", "errors" ]
createdarrayrequired
Array itemobject
- required
[ "id", "profileId", "displayName", "email", "company", "avatarUrl", "notes", "locale", "timezone", "tags", "isSubscribed", "isBlocked", "customFields", "channels", "firstSeenAt", "createdAt", "updatedAt" ]
idstringrequired24 hex contact id
- example
a1b2c3d4e5f6a7b8c9d0e1f2
profileIdstringrequired- example
b1c2d3e4f5a6b7c8d9e0f1a2
displayNamestringrequired- nullable
true- example
Ayse Yilmaz
emailstringrequired- nullable
true- example
[email protected]
companystringrequired- nullable
true- example
Acme Ltd
avatarUrlstringrequired- nullable
true
notesstringrequired- nullable
true
localestringrequired- nullable
true- example
tr-TR
timezonestringrequired- nullable
true- example
Europe/Istanbul
tagsarrayrequired
Tags are stored NORMALIZED (tags + contact_tags) and are PROJECTED here as a flat array. Matching is CASE INSENSITIVE, the spelling is the one written first.
- example
[ "VIP", "campaign-2026" ]
Array itemstringisSubscribedbooleanrequired- example
true
isBlockedbooleanrequiredLOCAL tenant flag. No provider blocking API is called; it can diverge from /v1/whatsapp/block-users BY DESIGN.
- example
false
customFieldsobjectrequiredThe custom field values of this contact, keyed by the slug of the definition. A field without a value does NOT appear here at all.
- additionalProperties
true- example
{ "customer-segment": "corporate" }
channelsarrayrequired
Array itemobject
- required
[ "id", "contactId", "accountId", "platform", "externalId", "displayIdentifier", "createdAt" ]
idstringrequired- example
a1b2c3d4e5f6a7b8c9d0e1f2
contactIdstringrequired- example
b1c2d3e4f5a6b7c8d9e0f1a2
accountIdstringrequiredThe connected social account the channel is talked over.
- example
c1d2e3f4a5b6c7d8e9f0a1b2
platformstringrequiredDERIVED from the platform of the account, not taken from the client. It is part of the uniqueness key.
- example
whatsapp
externalIdstringrequiredThe identifier of the contact on the platform side (PRD §6.3 'external_id'). On the Zernio wire it appears under the name 'platformIdentifier'.
- example
905551112233
displayIdentifierstringrequiredFor display only; it does not enter any uniqueness or matching decision.
- nullable
true- example
Ayse Yilmaz
createdAtstringrequired- format
date-time
firstSeenAtstringrequiredThe moment the contact was FIRST seen. It is SEPARATE from createdAt: an imported contact is created today but has existed for months.
- format
date-time
createdAtstringrequired- format
date-time
updatedAtstringrequired- format
date-time
skippedarrayrequired
If the same channel is already linked to another contact the row is SKIPPED and its tags are MERGED into that contact (createContact returns 409 in the same situation).
Array itemobject
- required
[ "index", "contactId" ]
indexnumberrequiredIndex of the row in the request (0 based).
contactIdstringrequiredThe existing contact the tags were MERGED into.
- example
a1b2c3d4e5f6a7b8c9d0e1f2
errorsarrayrequired
Row level errors are returned in the 200 BODY. If a single invalid row rejected a 1000 row import, the client could not learn which one was broken.
Array itemobject
- required
[ "index", "code", "message" ]
indexnumberrequiredcodestringrequired- example
invalid_email
messagestringrequired- example
email must be a non-empty string
paramstring- example
email
Original schema
{
"$ref": "#/components/schemas/BulkCreateContactsResponseDto"
}400Response schema
Response 400object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}401Authentication failed
Authentication failed
Response 401object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}403Permission denied
Permission denied
Response 403object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}404Response schema
Response 404object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}409Conflict
Conflict
Response 409object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}429Rate limit exceeded
Rate limit exceeded
Response 429object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}Response headers
X-RateLimit-Limit
Request ceiling that applied to this request. Authenticated requests use the team tier ceiling; unauthenticated identity endpoints use a per-IP ceiling. Usage is measured continuously against a trailing period rather than tallied and cleared at a boundary, so the full ceiling never becomes available again in one step.
X-RateLimit-Limitinteger- minimum
1
Original schema
{
"type": "integer",
"minimum": 1
}X-RateLimit-Remaining
Requests still allowed against that ceiling; never negative. On a 429 produced by the request throttler this is 0. Such a refused request is not counted, so retrying too early costs you no capacity and does not push your recovery further away.
X-RateLimit-Remaininginteger- minimum
0
Original schema
{
"type": "integer",
"minimum": 0
}X-RateLimit-Reset
Absolute Unix epoch time, in SECONDS, at which the current counting period turns over. This is NOT the number of seconds left: subtract the current time to obtain that. It is also NOT the moment your capacity returns: earlier usage keeps weighing on the ceiling across the turnover, so after a 429 wait for Retry-After instead, which is usually later than this value.
X-RateLimit-Resetinteger- format
int64- minimum
0
Original schema
{
"type": "integer",
"format": "int64",
"minimum": 0
}Retry-After
Seconds to wait before retrying. Always a positive integer delta (never an HTTP-date), at least 1. On a 429 from the request throttler it is the wait until your usage actually drops back under the ceiling; prefer it over any delay you compute from X-RateLimit-Reset.
Retry-Afterinteger- minimum
1- maximum
86400
Original schema
{
"type": "integer",
"minimum": 1,
"maximum": 86400
}500Server error
Server error
Response 500object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}502Platform error
Platform error
Response 502object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}503Service unavailable
Service unavailable
Response 503object
- required
[ "error", "type", "code", "docUrl", "requestId" ]
errorstringrequiredHuman-readable message. UNSTABLE — do not branch on it.
- example
WhatsApp session window expired; use a template message.
typestringrequiredStable error category (does not change across versions).
- enum
[ "invalid_request_error", "authentication_error", "permission_error", "not_found", "conflict", "rate_limit_error", "platform_error", "platform_rejected", "account_disconnected", "media_error", "api_error" ]- example
invalid_request_error
codestringrequiredStable machine-readable code.
- example
whatsapp_window_expired
paramstringOffending parameter, present only when relevant.
- example
body
docUrlstringrequiredhttps://docs.zumpo.io/errors/{code}
- example
https://docs.zumpo.io/errors/whatsapp_window_expired
requestIdstringrequiredSupport correlation id: req_ + 16 hex.
- example
req_7f3a9c2e1b8d4056
detailsobjectAdditional structured context, present only when an error has more to say than a single param can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.
- additionalProperties
true- example
{ "created": [ { "kind": "campaign", "platformId": "120210000000000001" }, { "kind": "adSet", "platformId": "120210000000000002" } ] }
Original schema
{
"$ref": "#/components/schemas/ZumpoErrorDto"
}Referenced schemas
Original local definitions used by this operation. Recursive and deeply nested references can be inspected here without expanding them repeatedly.
BulkCreateContactsDto
#/components/schemas/BulkCreateContactsDto
{
"type": "object",
"properties": {
"profileId": {
"type": "string",
"example": "b1c2d3e4f5a6b7c8d9e0f1a2"
},
"contacts": {
"description": "At most 1000 rows. The limit lives in code, not in env (CLAUDE.md \"Kilitli sozlesmeler\").",
"type": "array",
"items": {
"$ref": "#/components/schemas/BulkContactDto"
}
}
},
"required": [
"profileId",
"contacts"
]
}BulkContactDto
#/components/schemas/BulkContactDto
{
"type": "object",
"properties": {
"displayName": {
"type": "string",
"example": "Ayse Yilmaz"
},
"email": {
"type": "string",
"example": "[email protected]"
},
"company": {
"type": "string"
},
"avatarUrl": {
"type": "string"
},
"notes": {
"type": "string"
},
"locale": {
"type": "string"
},
"timezone": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"isSubscribed": {
"type": "boolean"
},
"isBlocked": {
"type": "boolean"
},
"firstSeenAt": {
"type": "string",
"format": "date-time"
},
"accountId": {
"type": "string"
},
"externalId": {
"type": "string"
},
"platform": {
"type": "string"
},
"displayIdentifier": {
"type": "string"
}
}
}BulkCreateContactsResponseDto
#/components/schemas/BulkCreateContactsResponseDto
{
"type": "object",
"properties": {
"created": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ContactDto"
}
},
"skipped": {
"description": "If the same channel is already linked to another contact the row is SKIPPED and its tags are MERGED into that contact (createContact returns 409 in the same situation).",
"type": "array",
"items": {
"$ref": "#/components/schemas/BulkSkippedDto"
}
},
"errors": {
"description": "Row level errors are returned in the 200 BODY. If a single invalid row rejected a 1000 row import, the client could not learn which one was broken.",
"type": "array",
"items": {
"$ref": "#/components/schemas/BulkErrorDto"
}
}
},
"required": [
"created",
"skipped",
"errors"
]
}ContactDto
#/components/schemas/ContactDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"description": "24 hex contact id"
},
"profileId": {
"type": "string",
"example": "b1c2d3e4f5a6b7c8d9e0f1a2"
},
"displayName": {
"type": "string",
"nullable": true,
"example": "Ayse Yilmaz"
},
"email": {
"type": "string",
"nullable": true,
"example": "[email protected]"
},
"company": {
"type": "string",
"nullable": true,
"example": "Acme Ltd"
},
"avatarUrl": {
"type": "string",
"nullable": true
},
"notes": {
"type": "string",
"nullable": true
},
"locale": {
"type": "string",
"nullable": true,
"example": "tr-TR"
},
"timezone": {
"type": "string",
"nullable": true,
"example": "Europe/Istanbul"
},
"tags": {
"example": [
"VIP",
"campaign-2026"
],
"description": "Tags are stored NORMALIZED (tags + contact_tags) and are PROJECTED here as a flat array. Matching is CASE INSENSITIVE, the spelling is the one written first.",
"type": "array",
"items": {
"type": "string"
}
},
"isSubscribed": {
"type": "boolean",
"example": true
},
"isBlocked": {
"type": "boolean",
"example": false,
"description": "LOCAL tenant flag. No provider blocking API is called; it can diverge from /v1/whatsapp/block-users BY DESIGN."
},
"customFields": {
"type": "object",
"additionalProperties": true,
"example": {
"customer-segment": "corporate"
},
"description": "The custom field values of this contact, keyed by the slug of the definition. A field without a value does NOT appear here at all."
},
"channels": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ContactChannelDto"
}
},
"firstSeenAt": {
"type": "string",
"format": "date-time",
"description": "The moment the contact was FIRST seen. It is SEPARATE from createdAt: an imported contact is created today but has existed for months."
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"profileId",
"displayName",
"email",
"company",
"avatarUrl",
"notes",
"locale",
"timezone",
"tags",
"isSubscribed",
"isBlocked",
"customFields",
"channels",
"firstSeenAt",
"createdAt",
"updatedAt"
]
}ContactChannelDto
#/components/schemas/ContactChannelDto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2"
},
"contactId": {
"type": "string",
"example": "b1c2d3e4f5a6b7c8d9e0f1a2"
},
"accountId": {
"type": "string",
"example": "c1d2e3f4a5b6c7d8e9f0a1b2",
"description": "The connected social account the channel is talked over."
},
"platform": {
"type": "string",
"example": "whatsapp",
"description": "DERIVED from the platform of the account, not taken from the client. It is part of the uniqueness key."
},
"externalId": {
"type": "string",
"example": "905551112233",
"description": "The identifier of the contact on the platform side (PRD §6.3 'external_id'). On the Zernio wire it appears under the name 'platformIdentifier'."
},
"displayIdentifier": {
"type": "string",
"nullable": true,
"example": "Ayse Yilmaz",
"description": "For display only; it does not enter any uniqueness or matching decision."
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"contactId",
"accountId",
"platform",
"externalId",
"displayIdentifier",
"createdAt"
]
}BulkSkippedDto
#/components/schemas/BulkSkippedDto
{
"type": "object",
"properties": {
"index": {
"type": "number",
"description": "Index of the row in the request (0 based)."
},
"contactId": {
"type": "string",
"example": "a1b2c3d4e5f6a7b8c9d0e1f2",
"description": "The existing contact the tags were MERGED into."
}
},
"required": [
"index",
"contactId"
]
}BulkErrorDto
#/components/schemas/BulkErrorDto
{
"type": "object",
"properties": {
"index": {
"type": "number"
},
"code": {
"type": "string",
"example": "invalid_email"
},
"message": {
"type": "string",
"example": "email must be a non-empty string"
},
"param": {
"type": "string",
"example": "email"
}
},
"required": [
"index",
"code",
"message"
]
}ZumpoErrorDto
#/components/schemas/ZumpoErrorDto
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Human-readable message. UNSTABLE — do not branch on it.",
"example": "WhatsApp session window expired; use a template message."
},
"type": {
"type": "string",
"description": "Stable error category (does not change across versions).",
"enum": [
"invalid_request_error",
"authentication_error",
"permission_error",
"not_found",
"conflict",
"rate_limit_error",
"platform_error",
"platform_rejected",
"account_disconnected",
"media_error",
"api_error"
],
"example": "invalid_request_error"
},
"code": {
"type": "string",
"description": "Stable machine-readable code.",
"example": "whatsapp_window_expired"
},
"param": {
"type": "string",
"description": "Offending parameter, present only when relevant.",
"example": "body"
},
"docUrl": {
"type": "string",
"description": "https://docs.zumpo.io/errors/{code}",
"example": "https://docs.zumpo.io/errors/whatsapp_window_expired"
},
"requestId": {
"type": "string",
"description": "Support correlation id: req_ + 16 hex.",
"example": "req_7f3a9c2e1b8d4056"
},
"details": {
"type": "object",
"additionalProperties": true,
"description": "Additional structured context, present only when an error has more to say than a single `param` can carry. Values are generated by this API (identifiers, node names); provider text and raw upstream payloads are never placed here. Example: a multi-step ad create that fails part-way performs no compensating delete and returns what it already built, so the caller can attach to the surviving ad set instead of losing it.",
"example": {
"created": [
{
"kind": "campaign",
"platformId": "120210000000000001"
},
{
"kind": "adSet",
"platformId": "120210000000000002"
}
]
}
}
},
"required": [
"error",
"type",
"code",
"docUrl",
"requestId"
]
}