Astra sends webhooks whenever a Card is created or if there is a status update for a Card.
Card Created
Fired when a card is created by a user.
| Parameter | Data Type | Description |
|---|---|---|
| webhook_type | string | card_created |
| webhook_id | string | The unique ID of the webhook event |
| user_id | string | The unique ID of the User |
| resource_id | string | The unique ID of the Resource (Card ID) |
Example:
{
"webhook_type": "card_created",
"webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
"user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
"resource_id": "fc531Dc5-2089-4c9b-ac07-b7e4228fa91c"
}Card Updated
Fired when the status of a Card has changed.
| Parameter | Data Type | Description |
|---|---|---|
| webhook_type | string | card_updated |
| webhook_id | string | The unique ID of the webhook event |
| user_id | string | The unique ID of the User |
| resource_id | string | The unique ID of the Resource (Card ID) |
Example:
{
"webhook_type": "card_updated",
"webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
"user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
"resource_id": "fc531Dc5-2089-4c9b-ac07-b7e4228fa91c"
}