Get the OAuth authorization URL

gethttps://api.expiryedge.com/v1/integrations/{provider}/oauthUrl
editor or admin60/min
Request
curl 'https://api.expiryedge.com/v1/integrations/asana/oauthUrl' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Response
{
  "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.

Path parameters

  • providerstringrequired
    Integration provider.
    Allowedasanaclickup

Query parameters

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

Returns

200
Authorization URL.
  • urlstringrequired
    format: uri

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