POST
/
workspace
/
trello
/
{workspaceId}
/
actions
curl --request POST \
  --url https://api.hyra.io/workspace/trello/{workspaceId}/actions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "fields": [
      {
        "after": 123,
        "grace": 123,
        "reset_type": "never",
        "true": 123,
        "type": "regex",
        "value": "<string>"
      }
    ],
    "group": "<string>",
    "name": "<string>",
    "type": "trigger"
  }
]'
{
  "_id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "triggers": [
    {
      "fields": [
        {
          "after": 123,
          "grace": 123,
          "reset_type": "<string>",
          "true": 123,
          "type": "<string>",
          "value": "<string>"
        }
      ],
      "group": "<string>",
      "name": "<string>",
      "type": "<string>"
    }
  ],
  "updatedAt": "2023-11-07T05:31:56Z",
  "workspace": "<string>"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Body

application/json ยท object[]
fields
object[]
required
group
string
name
string
required
type
enum<string>
required
Available options:
trigger,
action

Response

200 - application/json
_id
string
required
createdAt
string
required
created_by
string
required
triggers
object[]
required
updatedAt
string
required
workspace
string
required