Retrieve an action
GET/auth/actions/:id
Retrieves the details of an action.
Request
Path Parameters
id stringrequired
The id
of the Action
Responses
200: Successful response
- application/json
401: Authentication error
- application/json
403: Authorization error
- application/json
404: Resource not found
- application/json
422: Invalid parameters supplied in request. See HTTP response body for details.
- application/json
Request samples
curl -L 'https://api.telnyx.com/auth/actions/:id' \
-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"
}
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}