Query parameters
-
The tool ID.
-
The knowledge ID.
-
The page index. This value is simply for client state.
Minimum value is
0
. -
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 token. This is provided by the API.
GET
/v1/Policies
curl \
--request GET 'https://assistants.twilio.com/v1/Policies' \
--user "username:password"
Response examples (200)
{
"policies": [
{
"id": "string",
"name": "string",
"description": "string",
"account_sid": "string",
"user_sid": "string",
"type": "string",
"policy_details": {},
"date_created": "2025-05-04T09:42:00Z",
"date_updated": "2025-05-04T09:42:00Z"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}