Claim a connection started from the provider

posthttps://api.expiryedge.com/v1/integrations/{provider}/claimConnection
editor or admin60/minJede Methode
Anfrage
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"
}'
Antwort
{
  "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.

Pfadparameter

  • providerstringerforderlich
    Integration provider.
    Erlaubtasanaclickup

Body-Parameter

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

Rückgabe

200
Connected.
  • successboolean
  • messagestring

Fehler

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.