Query Parameters
ISO alpha-2 country code, such as CH.
^[A-Za-z]{2}$2 <= length <= 2Optional. Keep only options that do all these jobs. Without it, each number type shows its best option in this order: buy now before order by hand, then ready now, then options that do every job the type offers (even when a number that does fewer jobs costs less), then lower price, then fewer papers.
Header 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.