Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API key or access token

Body

application/json
requestId
string<uuid>
required

Idempotency UUID for this intended line. Replaying it with the same body returns the original request instead of buying a second number.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
storefrontAgentId
string
required

Active storefront Agent that will own the line.

Required string length: 1 - 200
areaCode
string
required

US area code to buy the number in.

Pattern: ^[2-9]\d{2}$
maxQuotedUpfrontUsdCents
integer
required

Highest upfront price accepted from the carrier's own quote for the exact number, re-read immediately before the order. The carrier offers no maximum-price field on a number order, so this is not a carrier-enforced cap.

Required range: 0 <= x <= 10000
maxQuotedMonthlyUsdCents
integer
required

Highest recurring price accepted from the carrier's own quote for the exact number, re-read immediately before the order. The carrier offers no maximum-price field on a number order, so this is not a carrier-enforced cap.

Required range: 0 <= x <= 10000

Response

Request a text-message line for an Agent

data
object
required
error
enum<string> | null
required
Available options:
null