Get Accounts
This request returns a list of accounts.
get | /accounts |
Sample
A sample GET request to retrieve accounts matching the criteria in the request URL:
curl -X GET \
'https://api.carrierx.com/mediator/v1/accounts' \
-u 'mediator_user_123:qwerty123'
Response
200
status code with a list of Account objects:
{
"body": {
"count": 1,
"has_more": false,
"items": [
{
"account_sid": "13e156f7-0d21-4ba6-9e32-c56dc2c6098f",
"date_created": "2025-04-09T22:47:56.609Z",
"login": "mediator_user_123",
"name": "John Smith"
}
],
"limit": 10,
"offset": 0,
"pagination": {},
"total": 1
},
"status": 200
}
This request is enabled for Pagination, Result Filtering, and Field Filtering.