Astra sends webhooks whenever there is a status update for a User or UserIntent.
User Intent Updated
Fired when the status of a UserIntent has changed.
| Parameter | Data Type | Description | 
|---|---|---|
| webhook_type | string | user_intent_updated | 
| webhook_id | string | The unique ID of the webhook event | 
| user_id | string | The unique ID of the User Intent | 
| resource_id | string | The unique ID of the Resource (UserIntent ID) | 
Example:
{
  "webhook_type": "user_intent_updated",
  "webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
  "user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
  "resource_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA"
}User Updated
Fired when the status of a User has changed.
| Parameter | Data Type | Description | 
|---|---|---|
| webhook_type | string | user_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 (User ID) | 
Example:
{
  "webhook_type": "user_updated",
  "webhook_id": "364f57aa-47dd-461b-8df4-d6388fb2d05e",
  "user_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA",
  "resource_id": "WV9Zwexqw7Tqk8nox5dBSe993dEBqGulDlnNA"
}