Webhooks

Handle Asana resthook confirmation

Asana 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 URL
    https://company.aha.io/api/v1
  • Auth
    • OAuth 2
      Authorization codehttps://{account-domain}.aha.io/oauth/authorize
      Token URLhttps://{account-domain}.aha.io/oauth/token
    • or HTTP bearer
    • or API key in cookie session
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

tokenstring required

Token identifier

Response

Successful operation

Changes

No recorded changes to this operation across all 2 revisions of this API.