Account Branches


POSThttps://api.voxo.co/branches/{branchId}

Get Account Branches by Id

Retreive a single branch with specified account id

Parameters

Path
  • Name
    branchId*
    Type
    Integer
    Description

    1234

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

{
    "id": 758,
    "tenantId": 432,
    "name": "Executive"
}

cURL

curl --location -g --request GET 'https://api.voxo.co/branches/123' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'

POSThttps://api.voxo.co/branches?tenantId={tenantId}

Get All Account Branches

Retreive all account branches for a specified account id

Parameters

Query
  • Name
    tenantId*
    Type
    Integer
    Description

    1234

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

[
    {
        "id": 758,
        "tenantId": 432,
        "name": "Executive"
    }
]

cURL

curl --location -g --request GET 'https://api.voxo.co/branches?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'