Create a sub-customer
Records a sub-customer under the provider's own key (external_id, unique per provider). When a customer with that external_id exists already, it is returned unchanged with 200 (use PATCH to change it); a new one is 201. display_name is the company name its messages carry (defaults to name).
Scope: partner.manage. Rate limit: 300 requests per minute per API key.
apiKey partner.manageAuthorizationBearer <msk_live_…>An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.
Scope: partner.manage
Idempotency-Key?stringRetry-safe POST: a repeated request with the same key replays the first successful response for 24 hours. Rejected requests (4xx/5xx) are not remembered, so a corrected request may reuse the key.
8 <= length <= 200application/json- body
contact_email?stringlength <= 254contact_name?stringlength <= 200contact_phone?stringlength <= 40credit_low_threshold?|int641 <= value <= 1000000000daily_limit?|int641 <= value <= 10000000display_name?stringDefaults to name.
1 <= length <= 100external_id*string1 <= length <= 128metadata?name*string1 <= length <= 200status?PartnerCustomerStatusactive: may send; suspended: kept with its credits, but may not send.
"active""suspended"unlimited_credits?booleanExempt the customer from credits (off unless you send true).
The existing customer with this external_id (unchanged)
application/json- response
data*meta*curl -X POST 'https://app.messora.tech/api/v1/partner/customers' \ -H 'Content-Type: application/json' \ -d '{ "contact_email": "mehmet@yildizmuhasebe.com.tr", "display_name": "Yıldız Muhasebe", "external_id": "acc-1042", "metadata": { "plan": "gold" }, "name": "Yıldız Muhasebe Ltd. Şti."}'{ "data": { "contact_email": "mehmet@yildizmuhasebe.com.tr", "contact_name": "Mehmet Yıldız", "contact_phone": "+905321234567", "created_at": "2026-12-01T09:00:00Z", "credit_low_threshold": null, "daily_limit": 500, "display_name": "Yıldız Muhasebe", "external_id": "acc-1042", "id": "019a8c2e-4f1b-7a00-9c3d-5e7a10000001", "metadata": { "plan": "gold" }, "name": "Yıldız Muhasebe Ltd. Şti.", "status": "active", "unlimited_credits": false, "updated_at": "2026-12-01T09:00:00Z" }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}List sub-customers GET
The provider's sub-customers, newest first, paged with cursor. q matches the external id, the name or the display name. Needs the provider feature (403 PARTNER_NOT_ENABLED otherwise). Scope: one of partner.manage, partner.read. Rate limit: 300 requests per minute per API key.
Get a sub-customer GET
The sub-customer with its contact details, status and metadata. Scope: one of partner.manage, partner.read. Rate limit: 300 requests per minute per API key.