Purchase number for location
Purchase number for location. With version: v3, the HTTP 201 body is the standard success envelope (status, data, message, statusCode). The v3 purchase fields live under data: number, locationId, id, and underLcAccount (renamed from under_ghl_account).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
phonenumbers. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
Send v3 to use the v3 response contract (AIP). This is the supported version value for these endpoints.
v3v3Path Parameters
Location ID as string
tDtDnQdgm2LXpyiqYvZ6Body
phoneNumber to purchase
830236932addressSid twilio address id
ADXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXbundleSid twilio bundle id
BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXcountry for which the phone numbers are being requested
UStype of phone number to be purchased
localstripe payment intent id
pi_3Oxxxxxxxxxxxxxxxxxxxxstripe account id
acct_1Oxxxxxxxxxxxxxxxxstripe registered payment method id
pm_1Oxxxxxxxxxxxxxxxxlocality of the user in which number is being purchased
Austinregion of the user in which number is being purchased
TXfingerprintId is request id which is unique for every purchase number request
purchase-req-abc-123Skip location-level KYC verification if agency-level compliance has already been verified
falseResponse
Success envelope; v3 purchase details are in data (slim shape: number, locationId, id, underLcAccount).
Outcome indicator from the shared success helper.
successsuccessV3 purchase payload: purchased number, location, Twilio account id, and underLcAccount.
Human-readable success message.
Number purchase successfulHTTP status echoed in the response body.
201