PBXCloud pbx

Purchase PBX subscription

This endpoint allows you to purchase a PBX subscription. After the operation is performed, our team will configure your personal Cloud PBX. The id parameter used in this request refers to the unique PBX plan identifier. You can retrieve available plan IDs via GET /api/v1/pbx/plans.

POST
/api/v1/pbx/plans/{id}/purchase

Path Parameters

id*integer

PBX subscription plan unique id

Range1 <= value

Header Parameters

Authorization*string

Your API token

Request Body

application/json

Parameters for your PBX subscription

pbx_name?string

Required parameter. PBX name, given to your PBX subscription/Cloud PBX instance.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://dev-refactor-api-e.voipenv.uk/api/v1/pbx/plans/1/purchase" \  -H "Authorization: string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "code": 0,
  "message": "string",
  "request_id": "string",
  "status": "ok"
}
{
  "code": 0,
  "error_details": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "message": "string",
  "request_id": "string",
  "status": "error"
}
{
  "code": 0,
  "error_details": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "message": "string",
  "request_id": "string",
  "status": "error"
}
{
  "code": 0,
  "error_details": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  },
  "message": "string",
  "request_id": "string",
  "status": "error"
}
Form Call To Action

Contact us

You can always send us a message or email. Weʼd be happy to help you out.