Webhooks API
Webhooks allow Aha! to receive real-time updates from integrated development tools and services. When configured properly, external systems can send webhook notifications to Aha! whenever relevant events occur (like issue updates, code commits, or task status changes).
Authentication: Webhooks use callback tokens instead of standard API authentication. Each integration has a unique callback token that must be included in webhook requests.
Supported Integrations: Aha! supports webhooks from many popular development tools including:
- Jira - Issue and project updates
- GitHub - Issue, pull request, and commit events
- Rally - Work item and project updates
- Asana - Task and project notifications
- Salesforce - Opportunity and case updates
- Smartsheet - Sheet and row changes
- Trello - Card and board updates
Setup Requirements:
- Integration must be properly configured and enabled
- Callback token must be valid and active
- Account must be in good standing (not disabled/suspended)
- Webhook payload must match the expected format for the integration type
Error Handling: Webhook endpoints return appropriate HTTP status codes:
200 OK
- Webhook processed successfully410 Gone
- Invalid token or disabled account500 Error
- Processing error (automatically retried by most systems)
Process an Asana webhook
POST /api/v1/webhooks/:token
Receives and processes a webhook from Asana when a task is updated.
Typical Asana webhook payload includes:
- events: [{ action: "changed", resource: { gid: "1234567890", name: "Task name", resource_type: "task" }, change: { field: "completed", new_value: true } }]
- X-Hook-Secret header for webhook confirmation
Name | Description |
---|---|
token * | Callback token for the integration |
Example request
POST /api/v1/webhooks/22b7893e7fa1c4c60847090f78fbf0ec
Example CURL command
curl "https://company.aha.io/api/v1/webhooks/22b7893e7fa1c4c60847090f78fbf0ec" -d '' -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Request
contentType: application/json
accept: application/json
Response
Status: 200 OK
contentType: application/json