Skip to main content

Get Bindings

This request returns a list of Binding objects matching the specified criteria.

get /bindings

Sample

A sample GET request to retrieve bindings matching the criteria in the request URL:

curl -X GET \
'https://api.carrierx.com/mediator/v1/bindings' \
-u 'mediator_user_123:qwerty123'

Response

200 status code with a list of Binding objects:

{
"body": {
"count": 1,
"has_more": false,
"items": [
{
"account_sid": "13e156f7-0d21-4ba6-9e32-c56dc2c6098f",
"attributes": {},
"binding_sid": "05561bef-ce48-4823-a847-bf10f7837a42",
"date_created": "2025-04-09T22:47:56.000Z",
"destination_did": "15162065337",
"dtmf": null,
"maximum_ttl": -1,
"name": "N/A",
"origination_did": null,
"redirect_did": "15162065339",
"redirect_did_info": {
"country_code": "USA",
"e164_format": "+15162065339",
"in_country_format": "(516) 206-5339",
"international_format": "+1 516-206-5339",
"phonenumber": "15162065339"
},
"wait_origination_did_ttl": -1
}
],
"limit": 10,
"offset": 0,
"pagination": {},
"total": 1
},
"status": 200
}

This request is enabled for Pagination, Result Filtering, and Field Filtering.