Get the OAuth authorization URL

gethttps://api.expiryedge.com/v1/integrations/{provider}/oauthUrl
editor or admin60/min
Anfrage
curl 'https://api.expiryedge.com/v1/integrations/asana/oauthUrl' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "url": "https://app.asana.com/-/oauth_authorize?response_type=code&client_id=120000000000&state=eyJhbGciOi..."
}

Returns the provider consent URL with a single-use state valid for 10 minutes. Open it in a popup.

Pfadparameter

  • providerstringerforderlich
    Integration provider.
    Erlaubtasanaclickup

Query-Parameter

  • fromstring
    Set when the provider itself opened the popup; other values are ignored.
    Erlaubtasanaclickup

Rückgabe

200
Authorization URL.
  • urlstringerforderlich
    format: uri

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.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.