curl --request GET \
--url 'https://api.hopae.com/connect/v2/apps/{appId}/redirect-uris' \
--header 'Authorization: Bearer sk_workspace_...'
{
"redirectUris": [
"https://app.example.com/callback",
"myapp://callback"
]
}
Redirect URIs
Get Redirect URIs
Get an app’s redirect URI allowlist.
GET
/
connect
/
v2
/
apps
/
{appId}
/
redirect-uris
curl --request GET \
--url 'https://api.hopae.com/connect/v2/apps/{appId}/redirect-uris' \
--header 'Authorization: Bearer sk_workspace_...'
{
"redirectUris": [
"https://app.example.com/callback",
"myapp://callback"
]
}
Returns the redirect URI allowlist saved on the app, for the hosted OIDC flow. For a production app, this is the Live configuration. To change the list, use Replace Redirect URIs.
Headers
string
required
Bearer sk_workspace_..., a Workspace API key of the organization that owns the app. See Workspace API.Path Parameters
string
required
The app ID returned by Create App or List Apps.
Response
200 OK. The body has the same shape as the Replace Redirect URIs request body.
string[]
required
The app’s allowed redirect URIs.
[] when none are saved.Errors
Besides the authentication and subscription errors that every route can return (see Workspace API), this endpoint returns:| HTTP | Code | When |
|---|---|---|
| 403 | AUTH_FORBIDDEN | The app belongs to another organization |
| 404 | RESOURCE_NOT_FOUND | Unknown app, or the app was deleted |
curl --request GET \
--url 'https://api.hopae.com/connect/v2/apps/{appId}/redirect-uris' \
--header 'Authorization: Bearer sk_workspace_...'
{
"redirectUris": [
"https://app.example.com/callback",
"myapp://callback"
]
}

