POST
/
enterprise
/
lease
/
register
/
{number}
curl --request POST \
  --url https://api.contiguity.co/enterprise/lease/register/{number} \
  --header 'Authorization: Bearer <token>'
{
  "id": "rsr_abc123",
  "object": "adopted_number_confirmation",
  "created_at": 123,
  "data": {
    "carrier": "TMO",
    "type": "text",
    "supports": [
      "sms"
    ],
    "price": 0
  }
}

This endpoint requires an Enterprise plan.

Authorizations

Authorization
string
header
required

Authentication using a Bearer Token. Specify Authorization: Token YOUR_TOKEN. Bearer is allowed.

Path Parameters

number
string
required

The phone number to adopt

Response

200
application/json
Number successfully adopted
id
string

Unique identifier for the response

object
enum<string>
Available options:
adopted_number_confirmation
created_at
integer

Unix timestamp of when the response was created

data
object