List all billing groups

gethttps://api.telnyx.com/v2/billing_groups

List all billing groups

curl -X GET \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Authorization: Bearer YOUR_API_KEY" \ --globoff "https://api.telnyx.com/v2/billing_groups?page[size]=10"

Parameters

In Query
page[number]
integer
(1)
optional
The page number to load
Default:
1
page[size]
integer
(1 - 250)
optional
The size of the page
Default:
20

Responses

200
A paginated array of billing groups
default
Unexpected error

Success Response

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

...

posthttps://api.telnyx.com/v2/billing_groups

...

...

Parameters

Responses

Success Response

...

gethttps://api.telnyx.com/v2/billing_groups/{id}

...

...

Parameters

Responses

Success Response

...

patchhttps://api.telnyx.com/v2/billing_groups/{id}

...

...

Parameters

Responses

Success Response

...

deletehttps://api.telnyx.com/v2/billing_groups/{id}

...

...

Parameters

Responses

Success Response

Was this page helpful?