Claim a connection started from the provider

posthttps://api.expiryedge.com/v1/integrations/{provider}/claimConnection
editor or admin60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/integrations/asana/claimConnection' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "nonce": "9f2c4e1a7b"
}'
Response
{
  "success": true,
  "message": "Asana connected successfully"
}

After an install started in the provider's app directory, moves the pending tokens identified by nonce into the caller's organization.

Path parameters

  • providerstringrequired
    Integration provider.
    Allowedasanaclickup

Body parameters

application/json
  • noncestringrequired
    The pending-connection nonce from the redirect URL.

Returns

200
Connected.
  • successboolean
  • messagestring

Errors

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
403
Authenticated, but your role or organization does not allow this action.
404
Unknown provider, or the pending connection was not found.
410
The pending connection expired.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.