Create an expiry from an Asana task

posthttps://api.expiryedge.com/v1/integrations/asana/createExpiry
editor or admin60/minJede Methode
Anfrage
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"
}'
Antwort
{
  "success": true,
  "expiryId": "exp_4Tq9sLm2"
}

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

Body-Parameter

application/json
  • taskGidstringerforderlich
    Numeric Asana task gid.

Rückgabe

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

Fehler

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.