Skip to main content
POST
/
numbers
/
create
cURL
curl --request POST \
  --url https://alto.dialme.at/api/altov2/public/numbers/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "<string>"
}
'
{
  "message": "success",
  "result": {
    "_id": "ph_***",
    "number": "<string>",
    "userId": "<string>",
    "status": "<string>",
    "monthly_cost": 3,
    "purchased_at": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Retrieve your key from Dashboard.

Body

application/json
phone_number
string
required

a phone number you get from available list

Response

Successful response

message
string
Example:

"success"

result
object