Skip to main content

List all billing groups

GET 
/billing_groups

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page

Responses

200: A paginated array of billing groups

Response Headers

    500: Unexpected error

    Response Headers

      Request samples


      curl -L 'https://api.telnyx.com/v2/billing_groups' \
      -H 'Accept: application/json' \
      -H 'Authorization: Bearer <TOKEN>'

      Response samples


      {
      "data": [
      [
      {
      "record_type": "billing_group",
      "id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
      "organization_id": "f1486bae-f067-460c-ad43-73a92848f902",
      "name": "My billing group name",
      "created_at": "2019-10-15T10:07:15.527Z",
      "updated_at": "2019-10-15T10:07:15.527Z",
      "deleted_at": null
      }
      ]
      ],
      "meta": {
      "total_pages": [
      3
      ],
      "total_results": [
      55
      ],
      "page_number": [
      2
      ],
      "page_size": [
      25
      ]
      }
      }