Register the Asana real-time webhook
post
https://api.expiryedge.com/v1/integrations/asana/registerWebhookeditor or admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/integrations/asana/registerWebhook' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resource_gid": "1200000000000042"
}'Response
{
"success": true,
"webhook_gid": "1200000000009001",
"target": "https://us-central1-expiryedge.cloudfunctions.net/api/integrations/asana/webhook?orgId=org_northwind"
}Replaces any existing webhook for the organization. resource_gid is a project gid (preferred) or workspace gid.
resource_gidstringrequired
200
Webhook registered; it becomes active after Asana's handshake.
successbooleanAllowedtruewebhook_gidstringtargetstringformat: uri
400 | The user has no organization, the provider is not connected, validation failed, or the provider API call failed. |
401 | Missing, expired or invalid bearer token. |
403 | Authenticated, but your role or organization does not allow this action. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
