Create an expiry from an Asana task

posthttps://api.expiryedge.com/v1/integrations/asana/createExpiry
editor or admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/integrations/asana/createExpiry' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "taskGid": "1200000000000777"
}'
Response
{
  "success": true,
  "expiryId": "exp_4Tq9sLm2"
}

Copies the task name, notes and due date into a new expiry linked to the task.

Body parameters

application/json
  • taskGidstringrequired
    Numeric Asana task gid.

Returns

200
Expiry created from the task (200, not 201).
  • successboolean
    Allowedtrue
  • expiryIdstring

Errors

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.