Skip to main content
GET
/
settings
/
redirect-urls
Read the redirect-URL allowlist for the current account + environment
curl --request GET \
  --url https://api-sandbox.ledgersyncappv2.com/v3/settings/redirect-urls \
  --header 'Authorization: Bearer <token>'
{
  "environment": "sandbox",
  "allowed_redirect_urls": [
    "https://myapp.example.com/cb"
  ]
}

Authorizations

Authorization
string
header
required

Pass your secret key in the Authorization header as a Bearer token: Authorization: Bearer sk_test_... (sandbox) or Bearer sk_live_... (production).

Keys are created in the developer portal and the plaintext secret is shown exactly once at creation. Treat them like passwords — never embed them in mobile apps or front-end code.

Response

200 - application/json

Current allowlist for the calling key's environment.

environment
enum<string>
required

The environment of the API key used (the row this view describes).

Available options:
sandbox,
live
allowed_redirect_urls
string<uri>[]
required