Get the OAuth authorization URL
get
https://api.expiryedge.com/v1/integrations/{provider}/oauthUrleditor 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.
providerstringrequiredIntegration provider.Allowedasanaclickup
fromstringSet when the provider itself opened the popup; other values are ignored.Allowedasanaclickup
200
Authorization URL.
urlstringrequiredformat: uri
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. |
