/integrations/providers/{providerId}/auth-urlintegrationsGet the OAuth authorize URL for a provider
Only valid for oauth providers (400 otherwise). 404 for an unknown provider. The authorize URL uses the target ecosystem `ecosystemId`'s client id; the caller must manage it (400 when omitted; 404/403 when unknown / not the caller's).
Auth: bearerAuth — calls run as the authenticated user.
- providerIdpathstring
- ecosystemIdquerystring
- redirectUriquerystring
- serviceTypequery · optionalstring
- scopesquery · optionalstring
Authorize URL + round-trip state
- urlstring
- statestring
{
"url": "string",
"state": "string"
}Problem Details (RFC 9457)
- typeoptionalstring
URI identifying the problem type; 'about:blank' when unspecified
- titlestring
Short, human-readable summary of the problem type
- statusinteger
HTTP status code, duplicated in the body
- detailoptionalstring
Explanation specific to this occurrence
- instanceoptionalstring
URI reference for this occurrence (the request path)
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}Problem Details (RFC 9457)
- typeoptionalstring
URI identifying the problem type; 'about:blank' when unspecified
- titlestring
Short, human-readable summary of the problem type
- statusinteger
HTTP status code, duplicated in the body
- detailoptionalstring
Explanation specific to this occurrence
- instanceoptionalstring
URI reference for this occurrence (the request path)
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}Problem Details (RFC 9457)
- typeoptionalstring
URI identifying the problem type; 'about:blank' when unspecified
- titlestring
Short, human-readable summary of the problem type
- statusinteger
HTTP status code, duplicated in the body
- detailoptionalstring
Explanation specific to this occurrence
- instanceoptionalstring
URI reference for this occurrence (the request path)
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}Problem Details (RFC 9457)
- typeoptionalstring
URI identifying the problem type; 'about:blank' when unspecified
- titlestring
Short, human-readable summary of the problem type
- statusinteger
HTTP status code, duplicated in the body
- detailoptionalstring
Explanation specific to this occurrence
- instanceoptionalstring
URI reference for this occurrence (the request path)
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}curl -X GET "https://api.agenticdeveloperhub.com/integrations/providers/{providerId}/auth-url" \
-H "Authorization: Bearer YOUR_TOKEN"const res = await fetch("https://api.agenticdeveloperhub.com/integrations/providers/{providerId}/auth-url", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();