Webhooks
Handle Asana resthook confirmation
Changed onAsana and other services implementing the Resthooks specification send a confirmation request with an X-Hook-Secret header when setting up webhooks. Aha! responds with the same secret to confirm the webhook endpoint is valid.
post/webhooks/{token}
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tokenstring required
Token identifier
Response
Successful operation
Changes
- info
endpoint added
- info