Get Accounts
This request shows accounts data for the currently logged-in partner.
get | /accounts |
This request is enabled for Pagination, Result Filtering, and Field Filtering.
Sample
A sample GET request to get accounts matching the criteria in the request URL:
curl -X GET \
'https://api.carrierx.com/flexml/v1/accounts' \
-u 'flexml_user_123:qwerty123'
Response
200
status code with a list of Account objects:
{
"count": 1,
"has_more": false,
"items": [
{
"account_sid": "1d4adc32-45d1-4789-9780-928049e2bce1",
"date_created": "2025-05-20T21:56:49.000Z",
"error_handler": "basic",
"login": "flexml_user_123",
"method": "POST",
"name": "John Smith",
"status_callback_method": "POST",
"status_callback_url": null,
"url": null
}
],
"limit": 10,
"offset": 0,
"pagination": {},
"total": 1
}