Query Parameters
country_code*Country Code
ISO alpha-2 country code, such as CH.
Match
^[A-Za-z]{2}$Length
2 <= length <= 2sms_only?Sms Only
True: only count options that can send and receive SMS.
Default
falseHeader Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/numbers/options?country_code=st"{ "country_code": "string", "needs_paperwork": true, "types": [ { "number_type": "string", "for": { "property1": { "allowed": true, "reason": "company_only", "how": "buy", "monthly_cents": 0, "setup_cents": 0, "capabilities": [ "voice" ], "paperwork": [ { "key": "string", "label": "string" } ], "paperwork_known": true, "status": "ready", "verification": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "subject_type": "person", "subject_name": "string", "state": "string" }, "more_options": 0 }, "property2": { "allowed": true, "reason": "company_only", "how": "buy", "monthly_cents": 0, "setup_cents": 0, "capabilities": [ "voice" ], "paperwork": [ { "key": "string", "label": "string" } ], "paperwork_known": true, "status": "ready", "verification": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "subject_type": "person", "subject_name": "string", "state": "string" }, "more_options": 0 } } } ]}Get Email
Fetch one email by id, including attachments and last event time. Org-scoped: returns 404 for an email belonging to a different organization. For an inbound email with a stored raw MIME, raw_url points at GET /v1/emails/{email_id}/raw.
Get Number
Fetch one dedicated number by id, including its capabilities and state. Org-scoped: returns 404 for a number belonging to a different organization. Read-only: a pending order is advanced by the background reconciler, never by this request.