Register allowed callback origin
Registers an origin (scheme and host, plus port if any). A path, query or fragment in the value is dropped. HTTPS origins and custom app schemes such as myapp:// are accepted; plain HTTP is accepted only for http://localhost:PORT. Registering an origin that is already registered returns the existing origin with a 200, so retries are safe.
Authentication
AuthorizationBearer
Token-based authentication with required prefix “Bearer”
Request
This endpoint expects an object.
origin
Response
The origin was already registered.
id
origin
Allowed origin for callback URLs (e.g., ‘https://myapp.com’ or ‘myapp://’). The callback_url’s scheme+host must match this origin.
created_at
modified_at
Errors
400
Bad Request Error