Register a 10DLC brand
Reads and writes the CARRIER registry directly. There is no local copy of these records in zumpo, on purpose: two copies of a registration would drift and nothing would notice. Consequences: results reflect the carrier at call time, pagination is the carrier page model rather than this API's cursor model, and a create is not idempotent - repeating it registers again. When the SMS provider is not configured the endpoint answers 503 sms_provider_unavailable rather than an empty list, so "not configured" is never mistaken for "nothing registered". Set "mock": true to have the registry score the brand without charging vetting fees - the carrier offers this so a typo in an EIN is not discovered by paying for it.
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
- additionalProperties
false- required
[ "profileId", "entityType", "displayName", "country", "email", "vertical" ]
profileIdstringrequiredThe profile that owns this brand and its campaigns.
- pattern
^[0-9a-f]{24}$
entityTypestringrequired- enum
[ "PRIVATE_PROFIT", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT", "SOLE_PROPRIETOR" ]- example
PRIVATE_PROFIT
displayNamestringrequired- minLength
1- maxLength
256- example
Zumpo Technology
countrystringrequired- pattern
^[A-Za-z]{2}$- example
US
emailstringrequired- minLength
3- maxLength
320- example
[email protected]
verticalstringrequired- enum
[ "AGRICULTURE", "COMMUNICATION", "CONSTRUCTION", "EDUCATION", "ENERGY", "ENTERTAINMENT", "FINANCIAL", "GAMBLING", "GOVERNMENT", "HEALTHCARE", "HOSPITALITY", "HUMAN_RESOURCES", "INSURANCE", "LEGAL", "MANUFACTURING", "NGO", "POLITICAL", "POSTAL", "PROFESSIONAL", "REAL_ESTATE", "RETAIL", "TECHNOLOGY", "TRANSPORTATION" ]- example
TECHNOLOGY
companyNamestring- maxLength
256
einstring- maxLength
64
phonestring- maxLength
32
streetstring- maxLength
256
citystring- maxLength
128
statestring- maxLength
128
postalCodestring- maxLength
32
websitestring- maxLength
2048
isResellerboolean- example
false
businessContactEmailstring- maxLength
320
stockSymbolstring- maxLength
256- example
TLNX
stockExchangestring- maxLength
256- example
NASDAQ
mockboolean- example
true
Original schema
{
"$ref": "#/components/schemas/CreateSmsBrandDto"
}Responses
Status codes and shapes declared for this operation. Read each description for the meaning of that response.
200Response schema
Response 200object
- additionalProperties
false- required
[ "brand" ]
brandobjectrequired
- additionalProperties
false- required
[ "brandId", "tcrBrandId", "entityType", "identityStatus", "displayName", "companyName", "email", "website", "status", "failureReasons", "createdAt", "updatedAt", "assignedCampaignsCount", "country", "vertical", "ein", "phone", "street", "city", "state", "postalCode", "isReseller", "mock" ]
brandIdstringrequired- example
4b6b8f2a-0c3d-4a1e-9f7b-2c5d8e1a4b7c
tcrBrandIdstringrequired- nullable
true- example
BRAND123
entityTypestringrequired- enum
[ "PRIVATE_PROFIT", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT", "SOLE_PROPRIETOR" ]- example
PRIVATE_PROFIT
identityStatusstringrequired- enum
[ "VERIFIED", "UNVERIFIED", "SELF_DECLARED", "VETTED_VERIFIED" ]- nullable
true- example
VERIFIED
displayNamestringrequired- example
Zumpo Technology
companyNamestringrequired- nullable
true- example
Zumpo Technology Inc.
emailstringrequired- nullable
true- example
[email protected]
websitestringrequired- nullable
true- example
https://example.com
statusstringrequired- enum
[ "OK", "REGISTRATION_PENDING", "REGISTRATION_FAILED" ]- example
OK
failureReasonsstringrequired- nullable
true- example
null
createdAtstringrequired- nullable
true- format
date-time
updatedAtstringrequired- nullable
true- format
date-time
assignedCampaignsCountnumberrequired- nullable
true- example
2
countrystringrequired- example
US
verticalstringrequired- example
TECHNOLOGY
einstringrequired- nullable
true- example
null
phonestringrequired- nullable
true- example
+15551234567
streetstringrequired- nullable
true
citystringrequired- nullable
true
statestringrequired- nullable
true
postalCodestringrequired- nullable
true
isResellerbooleanrequired- example
false
mockbooleanrequired- example
false
Original schema
{
"$ref": "#/components/schemas/SmsBrandResponseDto"
}400Invalid request
Invalid request
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"
}404Resource not found
Resource not found
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.
CreateSmsBrandDto
#/components/schemas/CreateSmsBrandDto
{
"type": "object",
"properties": {
"profileId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "The profile that owns this brand and its campaigns."
},
"entityType": {
"type": "string",
"enum": [
"PRIVATE_PROFIT",
"PUBLIC_PROFIT",
"NON_PROFIT",
"GOVERNMENT",
"SOLE_PROPRIETOR"
],
"example": "PRIVATE_PROFIT"
},
"displayName": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"example": "Zumpo Technology"
},
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"example": "US"
},
"email": {
"type": "string",
"minLength": 3,
"maxLength": 320,
"example": "[email protected]"
},
"vertical": {
"type": "string",
"enum": [
"AGRICULTURE",
"COMMUNICATION",
"CONSTRUCTION",
"EDUCATION",
"ENERGY",
"ENTERTAINMENT",
"FINANCIAL",
"GAMBLING",
"GOVERNMENT",
"HEALTHCARE",
"HOSPITALITY",
"HUMAN_RESOURCES",
"INSURANCE",
"LEGAL",
"MANUFACTURING",
"NGO",
"POLITICAL",
"POSTAL",
"PROFESSIONAL",
"REAL_ESTATE",
"RETAIL",
"TECHNOLOGY",
"TRANSPORTATION"
],
"example": "TECHNOLOGY"
},
"companyName": {
"type": "string",
"maxLength": 256
},
"ein": {
"type": "string",
"maxLength": 64
},
"phone": {
"type": "string",
"maxLength": 32
},
"street": {
"type": "string",
"maxLength": 256
},
"city": {
"type": "string",
"maxLength": 128
},
"state": {
"type": "string",
"maxLength": 128
},
"postalCode": {
"type": "string",
"maxLength": 32
},
"website": {
"type": "string",
"maxLength": 2048
},
"isReseller": {
"type": "boolean",
"example": false
},
"businessContactEmail": {
"type": "string",
"maxLength": 320
},
"stockSymbol": {
"type": "string",
"maxLength": 256,
"example": "TLNX"
},
"stockExchange": {
"type": "string",
"maxLength": 256,
"example": "NASDAQ"
},
"mock": {
"type": "boolean",
"example": true
}
},
"additionalProperties": false,
"required": [
"profileId",
"entityType",
"displayName",
"country",
"email",
"vertical"
]
}SmsBrandResponseDto
#/components/schemas/SmsBrandResponseDto
{
"type": "object",
"properties": {
"brand": {
"$ref": "#/components/schemas/SmsBrandDto"
}
},
"additionalProperties": false,
"required": [
"brand"
]
}SmsBrandDto
#/components/schemas/SmsBrandDto
{
"type": "object",
"properties": {
"brandId": {
"type": "string",
"example": "4b6b8f2a-0c3d-4a1e-9f7b-2c5d8e1a4b7c"
},
"tcrBrandId": {
"type": "string",
"nullable": true,
"example": "BRAND123"
},
"entityType": {
"type": "string",
"enum": [
"PRIVATE_PROFIT",
"PUBLIC_PROFIT",
"NON_PROFIT",
"GOVERNMENT",
"SOLE_PROPRIETOR"
],
"example": "PRIVATE_PROFIT"
},
"identityStatus": {
"type": "string",
"enum": [
"VERIFIED",
"UNVERIFIED",
"SELF_DECLARED",
"VETTED_VERIFIED"
],
"nullable": true,
"example": "VERIFIED"
},
"displayName": {
"type": "string",
"example": "Zumpo Technology"
},
"companyName": {
"type": "string",
"nullable": true,
"example": "Zumpo Technology Inc."
},
"email": {
"type": "string",
"nullable": true,
"example": "[email protected]"
},
"website": {
"type": "string",
"nullable": true,
"example": "https://example.com"
},
"status": {
"type": "string",
"enum": [
"OK",
"REGISTRATION_PENDING",
"REGISTRATION_FAILED"
],
"example": "OK"
},
"failureReasons": {
"type": "string",
"nullable": true,
"example": null
},
"createdAt": {
"type": "string",
"nullable": true,
"format": "date-time"
},
"updatedAt": {
"type": "string",
"nullable": true,
"format": "date-time"
},
"assignedCampaignsCount": {
"type": "number",
"nullable": true,
"example": 2
},
"country": {
"type": "string",
"example": "US"
},
"vertical": {
"type": "string",
"example": "TECHNOLOGY"
},
"ein": {
"type": "string",
"nullable": true,
"example": null
},
"phone": {
"type": "string",
"nullable": true,
"example": "+15551234567"
},
"street": {
"type": "string",
"nullable": true
},
"city": {
"type": "string",
"nullable": true
},
"state": {
"type": "string",
"nullable": true
},
"postalCode": {
"type": "string",
"nullable": true
},
"isReseller": {
"type": "boolean",
"example": false
},
"mock": {
"type": "boolean",
"example": false
}
},
"additionalProperties": false,
"required": [
"brandId",
"tcrBrandId",
"entityType",
"identityStatus",
"displayName",
"companyName",
"email",
"website",
"status",
"failureReasons",
"createdAt",
"updatedAt",
"assignedCampaignsCount",
"country",
"vertical",
"ein",
"phone",
"street",
"city",
"state",
"postalCode",
"isReseller",
"mock"
]
}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"
]
}