Skip to main content

List all actions

GET 
/auth/actions

Returns a list of actions. Results are paginated to improve retrieval peformance. The meta data indicates how many total records exist.

Request

Query Parameters

    category string

    Type of action to filter on.

    page[number] double

    Current page based on pagination settings.

    page[size] double

    Number of results to return per page based on pagination settings.

Responses

200: Successful response

401: Authentication error

403: Authorization error

422: Invalid parameters supplied in request. See HTTP response body for details.

Request samples


curl -L 'https://api.telnyx.com/auth/actions' \
-H 'Accept: application/json'

Response samples


{
"data": [
{
"id": "7e610e23-d1f2-4f90-b5b7-3ddd7b32ad7c",
"category": "SMS",
"description": "Send messages",
"record_type": "action",
"created_at": "2018-02-08T18:49:22.998023Z",
"updated_at": "2018-02-08T18:49:22.998023Z"
}
],
"meta": {
"total_pages": 13,
"total_results": 13,
"page_number": 3,
"page_size": 1
}
}