Get Account by SID
This request will return data for an account, targeted by secure ID.
get | /accounts/{account_sid} |
This request is enabled for Field Filtering.
Sample
A sample GET request to get an account, targeted by secure ID:
curl -X GET \
'https://api.carrierx.com/flexml/v1/accounts/1d4adc32-45d1-4789-9780-928049e2bce1' \
-u 'flexml_user_123:qwerty123'
Response
200
status code with a serialized copy of the Account object:
{
"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
}
Path Arguments
Parameter | Data Type | Description |
---|---|---|
account_sid read only | string | The account secure ID. |