Get one SMS market (country and sender type)

Reads one market you send in — its sender, where that sender stands, and everything its compliance holds.

What compliance carries

A market that registers with a compliance regime reports brand — the identity the registration is filed against — and campaign, the programme filed against it. Each carries inherit, saying whether it is yours or your organization's.

compliance.brand.vetting is the brand's external vetting at The Campaign Registry, read-only: score (0-100, the figure US carriers set 10DLC throughput by), status (PENDING, UNSCORE, ACTIVE, FAILED or EXPIRED; carriers read the score of an ACTIVE vet only), vetted_at and expires_at. It is null while no vetting record is held for the brand, and score is null for a vet that has none yet. A profile on your organization's brand reads your organization's vetting.

A market that registers with nobody has neither, so both keys are absent rather than null: absent says this market does not ask, where null would say it asks and you supplied nothing. It reports documents instead.

GET /v3/compliance/requirements says what a market demands of any new customer; this says what you gave it.

Writing it back

PATCH this same path, with the compliance object from this response:

{ "compliance": { "brand": { "tax_id": "12-3456789" } } }

Nothing else to learn — what comes back can be sent back, an omitted key is left alone. There is no sub-resource for either half: both are singletons of the market, so both are written here.

GET /v3/compliance/requirements says what a market demands of anybody; this says what you gave it.

Send x-profile-id with an organization key to read one of your profiles' markets.

GET
/v3/channels/{channel}/{country}/{type}

Path Parameters

channel*string

The channel: sms. Other channels are 501 until they have markets

country*string

ISO 3166-1 alpha-2 country code, e.g. us

type*string

Sender type: local, mobile, 10dlc (or ten_dlc), toll_free, short_code, alphanumeric. Matched ignoring case.

Header Parameters

x-profile-id?string

Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.

Formatuuid

Response Body

The market

application/json
  1. response

Standard API response envelope for all v3 endpoints

success?boolean

Indicates whether the request was successful

data?|null

The response data (null if error)

error?|null

Error details (null if successful)

meta?

Metadata about the request and response

Example Request
curl -X GET 'https://api.sent.dm/v3/channels/sms/US/ten_dlc'
Example Response
{  "success": true,  "data": {    "country": "US",    "number_type": "TEN_DLC",    "numbers": [      {        "sender_value": "+12125550100",        "area_code": "212",        "status": "ACTIVE"      }    ],    "status": "ACTIVE",    "compliance": {      "brand": {        "id": "c74a50be-314d-4e03-a584-23b21e062e6d",        "inherit": false,        "legal_name": "Example Retail Inc",        "entity_type": "PRIVATE_PROFIT",        "country": "US",        "website": "https://example.com",        "vetting": {          "score": 80,          "status": "ACTIVE",          "vetted_at": "2026-03-02T15:04:05+00:00",          "expires_at": "2027-03-02T15:04:05+00:00"        }      },      "campaign": {        "inherit": false,        "description": "Order and delivery updates for customers who opted in at checkout."      },      "campaigns": [        {          "id": "3f2a6c1e-8b4d-4e2a-9c7f-1d5b0a9e4c21",          "inherit": false,          "description": "Order and delivery updates for customers who opted in at checkout."        }      ],      "documents": []    }  },  "meta": {    "request_id": "req_6C4eQo0rTv",    "timestamp": "2025-06-01T12:00:00+00:00",    "version": "v3"  }}

List your markets on a channel GET

Every market you send SMS in, each with its sender, where that sender stands, and what its compliance holds. The same entries `GET /v3/channels` reports under `sms`, and the same shape `GET /v3/channels/sms/{country}/{type}` returns for one of them — so a list, a member read and the all-channels read cannot describe a market differently. Send `x-profile-id` with an organization key to list one of your profiles' markets.

Add an SMS market — a country and sender type POST

Gives the customer a sender in one country — the first market it sends in, and the fifth. Two addresses, one call: `POST /v3/channels/sms` with `country` and `number_type` in the body, or `POST /v3/channels/sms/{country}/{type}` with the market as the path (the path wins over the body). ## What to have in place first **Call `GET /v3/channels/sms/{country}/compliance` first.** It lists every sender type the country offers and, for each, the compliance values and documents to send, with their formats and options. You never have to track forty countries' rules yourself. **A market that registers with a compliance regime needs an identity, and this call takes one.** US `TEN_DLC` registers with The Campaign Registry and files that registration against a business identity. Send it in `compliance.brand` and it is recorded here, before the registration that attaches to it — so a customer with no identity reaches a first 10DLC market in one call. `{ "inherit": true }` runs on your organization's instead. A market with neither — none stored, none sent — is `400`, because accepting it would write a channel that could never register and leave it provisioning for ever with nothing saying why. **Everything the regime wants arrives in this request's `compliance`**, as two declared objects: `brand` — the identity the registration is filed against — and `campaign`, with the use case, the consent narrative, the volume, the sample messages and the keywords. There is nothing to set up first. Nothing is submitted here either: the rows are what a submission is later assembled from, and filing is externally rejectable so it happens on its own path. **Your own brand has to be complete here.** It must carry every field the regime asks of it, counting what you already hold — send the rest in this request. A missing one is `400` naming each field, rather than a `202` for a market that could never be filed. A brand you inherit is asked for nothing. **A campaign of your own is optional here.** Sent, it has to be complete in the same way, and the `numbers` you ask for go on it. Omitted, no campaign is written and `numbers` and `area_codes` are refused (`400`), because numbers belong to a campaign: the market reads `ACTION_NEEDED` until you add one with `POST /v3/channels/sms/US/TEN_DLC/campaigns`, then its numbers with `POST /v3/channels/sms/US/TEN_DLC/numbers`. A market that registers with nobody — an alphanumeric sender in most countries — needs neither, and may need documents instead. ## Sending it Takes the same fields `channels.sms` takes on `POST /v3/sender-profiles`, because it is the same work, and both run one provisioning path. `compliance` is top-level and answers for the market in this request, carrying `brand` and `campaign` where the market registers. **Accepts multipart as well as JSON**, with each file named after the compliance key it satisfies — a market that pre-registers its sender needs its documents at the same moment it needs the sender. Every required document must be attached to this request; a missing or invalid file is rejected before the market is added. **`area_codes` puts the sender somewhere specific**, in your order of preference, for a `LOCAL` sender in any country or a US `TEN_DLC` sender — a 10DLC number is an ordinary local long code bound to a registered campaign, so both take the same codes out of the same inventory. It is honoured exactly: you get a number in one of the codes you named or you get none, never one in a code you left out. ## Several numbers **`numbers` lists the numbers you want, one entry per area code**, e.g. `[{"area_code": "212", "quantity": 2}, {"quantity": 1}]` for two numbers in 212 and one in any area code. `quantity` defaults to 1, and an entry without `area_code` means any area code. Omit `numbers` for one number. It is for `LOCAL` and `TEN_DLC` only and cannot be combined with `area_codes`. A market holds at most 49 numbers. US `TEN_DLC` numbers belong to the market's campaign and are assigned when the campaign is approved, not at request time. Until then they read as `PROVISIONING` in the response's `numbers`, each with the area code it was asked for. A profile inheriting your organization's campaign cannot request `numbers` (`400`). **This call opens a market once. A market you already hold is `409`**, with a sender or still waiting for one, and nothing is added to it here: change its compliance with `PATCH /v3/channels/sms/{country}/{type}`, add numbers (and their area codes) with `POST /v3/channels/sms/{country}/{type}/numbers`, and on US `TEN_DLC` add a campaign with `POST /v3/channels/sms/US/TEN_DLC/campaigns`. The `409` names them. A market is a `(country, sender_type)` pair, so a **second sender type in a country you already send in is fine** — `US TOLL_FREE` alongside `US TEN_DLC` is the ordinary case. Two of the same type is not. One exception: while a market's sender type is still unassigned, adding any type to that country is `409`, because the market you have may be about to become the one you asked for. Returns **the market**, in the shape `GET` and `PATCH` on `/v3/channels/sms/{country}/{type}` use — so what this answers can be read back and written back without reshaping. Not every channel you have: adding a market cannot change an RCS agent or a WhatsApp account, and `GET /v3/channels` is the whole picture. `201` when the market is ready; `202` while a sender or a registration is still outstanding. Send `x-profile-id` with an organization key to add a market to one of your profiles.