Subaccounts

Create Subaccount

Changed on

Add a subaccount for the authenticated user or client

post/v4/accounts/{voip_id}/subaccounts

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/subaccounts
  • Auth: HTTP bearer

Path parameters

voip_idinteger required

Request body

usernamestring required

Username

passwordstring required

Password

verification_emailstring nullable

Email verification code (if required)

cc_tokenstring nullable

Credit card token from Credit Card endpoint

billing_dayinteger nullable

Day of account's monthly billing cycle beginning (available for special integrations only)

agent_idinteger nullable

Agent ID (available for special integrations only)

tos_accept_dateinteger nullable

Timestamp of acceptance of Terms of Service. It may not be more than 1 day in the past or 1 hour in the future.

tracking_datastring nullable

Tracking data (available for special integrations only)

Response

Created

object required

Changes

    • breaking

      the request property's min was increased to 1792506635.00

    • info

      the request property's max was increased from 1792589185.00 to 1792596635.00

    • breaking

      the request property's min was increased to 1792499185.00

    • info

      the request property's max was increased from 1792584442.00 to 1792589185.00