Retrieves a list of all Custom Operators for an Account.
Retrieves a list of all Custom Operators for an Account.
Query parameters
-
Returns Custom Operators with the provided availability type. Possible values: internal, beta, public, retired.
Values are
internal
,beta
,public
, orretired
. -
Returns Custom Operators that support the provided language code.
-
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
GET
/v2/Operators/Custom
curl \
--request GET 'https://intelligence.twilio.com/v2/Operators/Custom' \
--user "username:password"
Response examples (200)
Read full
{
"meta": {
"key": "operators",
"url": "https://intelligence.twilio.com/v2/Operators/Custom?LanguageCode=en&Availability=public&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://intelligence.twilio.com/v2/Operators/Custom?LanguageCode=en&Availability=public&PageSize=50&Page=0",
"previous_page_url": null
},
"operators": [
{
"sid": "LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://intelligence.twilio.com/v2/Operators/Custom/LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"author": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"config": {
"configuration": {
"field": "value"
}
},
"version": 1,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"description": "New Operator",
"availability": "public",
"date_created": "2010-08-31T20:36:28Z",
"date_updated": "2010-08-31T20:36:28Z",
"friendly_name": "My New Operator",
"operator_type": "operator-type-name"
}
]
}
{
"meta": {
"key": "operators",
"url": "https://intelligence.twilio.com/v2/Operators/Custom?LanguageCode=en&Availability=public&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://intelligence.twilio.com/v2/Operators/Custom?LanguageCode=en&Availability=public&PageSize=50&Page=0",
"previous_page_url": null
},
"operators": []
}