Error
A valid request URL is required to generate request examples{
"id": "act_M4qT8YH7xW2pL9nB",
"status": "pending",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by": "<string>"
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}Actions
Approve Action
Approves an action in awaiting_approval and moves it to pending.
POST
/
v1
/
actions
/
{id}
/
approve
Error
A valid request URL is required to generate request examples{
"id": "act_M4qT8YH7xW2pL9nB",
"status": "pending",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by": "<string>"
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}{
"error": {
"code": "missing_body",
"message": "<string>",
"request_id": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>",
"code": "invalid"
}
]
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Optional client request ID. Echoed back on response.
Pattern:
^application/json(;.*)?$Path Parameters
Pattern:
^act_[A-Za-z0-9_-]+$Example:
"act_M4qT8YH7xW2pL9nB"
Body
application/json
The body is of type object.