Get Account by SID
This request returns data for an account, targeted by its secure ID.
get | /accounts/{account_sid} |
Sample
A sample GET request to retrieve an account, targeted by its secure ID:
curl -X GET \
'https://api.carrierx.com/mediator/v1/accounts/13e156f7-0d21-4ba6-9e32-c56dc2c6098f' \
-u 'mediator_user_123:qwerty123'
Response
200
status code with a serialized copy of the Account object:
{
"body": {
"account_sid": "13e156f7-0d21-4ba6-9e32-c56dc2c6098f",
"date_created": "2025-04-09T22:47:56.609Z",
"login": "mediator_user_123",
"name": "John Smith"
},
"status": 200
}
This request is enabled for Field Filtering.
Path Arguments
Parameter | Data Type | Description |
---|---|---|
account_sid required | string | The account secure ID. |