Account Object
This section outlines the Account object.
Account Object attributes
The fields listed in the table below will be returned in a JSON object when a successful request has been made.
Attribute | Data Type | Description |
---|---|---|
account_sid read only | string | The account secure ID. |
date_created read only | string | The date and time when the account was created. |
error_handler | string | This is the way that is used to handle the errors. Values accepted in this field are basic and none . When the value is basic , a recording will play when an app error occurs. If the value is set to none , error handling will defer to the carrier settings. The default value is basic . |
login read only | string | The login username used to access the FlexML endpoint. Each endpoint has a unique login and password. |
method | string | The HTTP method used to execute the request if no method is assigned in the DID object. This method can be set as either POST or GET . The default value is POST . |
name | string | The account name. This is a human-readable nickname for the account. |
password read only | string | The password used to access the FlexML endpoint. Each endpoint has a unique login and password. The password field is hidden and not returned in the responses. |
status_callback_method | string | Callback HTTP method used to execute the request to the status_callback_url at the end of the call, i.e. GET , POST , HEAD , OPTIONS , PUT , PATCH , DELETE , TRACE . The default value is POST . |
status_callback_url | string | Callback URL to be requested at the end of the call. Set the way that this URL is queried by assigning the status_callback_method value. |
url | string | The URL where the FlexML instructions are located. To indicate the type of request sent to this URL, set the method field. |
Sample 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
}