Skip to main content
PUT
https://sandbox.api.hopae.com/connect/v1
/
apps
/
{client_id}
/
redirect-uris
curl -X PUT \
  -H "Authorization: Bearer sk_workspace_test_..." \
  -H "Content-Type: application/json" \
  -d '{"redirectUris":["https://app.example.com/callback","https://app.example.com/alt"]}' \
  "https://sandbox.api.hopae.com/connect/v1/apps/abc123/redirect-uris"
{
  "redirect_uris": [
    "https://app.example.com/callback",
    "https://app.example.com/alt"
  ],
  "total": 2
}
Replaces the entire redirect URI list for an app. Idempotent.

Request

Authorization
string
required
Bearer <API_KEY> from Console > Developers > Workspace API Keys.
Content-Type
string
application/json

Path parameters

client_id
string
required
Client identifier of the app.

Request body

redirectUris
string[]
required
Full replacement list of redirect URIs.

Response

Returns the stored redirect URIs and total count.
curl -X PUT \
  -H "Authorization: Bearer sk_workspace_test_..." \
  -H "Content-Type: application/json" \
  -d '{"redirectUris":["https://app.example.com/callback","https://app.example.com/alt"]}' \
  "https://sandbox.api.hopae.com/connect/v1/apps/abc123/redirect-uris"
{
  "redirect_uris": [
    "https://app.example.com/callback",
    "https://app.example.com/alt"
  ],
  "total": 2
}
Validation: HTTPS required in production (HTTP only allowed for localhost), no fragments, length ≤ 2048, host required, duplicates removed, host lowercased, max 20 URIs.