agent-auth

Register an OAuth client (RFC 7591)

Dynamic client registration for public clients: PKCE, no client secret, token_endpoint_auth_method none. Redirect URIs must be https, http on a loopback host (any port), or a private-use scheme. A client can instead use the HTTPS URL of a Client ID Metadata Document as its client_id, with no registration.

post/oauth2/register

Request

  • Base URL: https://api.letsship.ai/v1
  • URL: https://api.letsship.ai/v1/oauth2/register
  • Auth: none declared

Request body

redirect_urisstring[] required
client_namestring
client_uristring
logo_uristring
grant_typesstring[]
response_typesstring[]
token_endpoint_auth_methodstring
application_typestring

Example request

{
  "redirect_uris": [
    "http://127.0.0.1:33418/callback"
  ],
  "client_name": "Claude Code",
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "token_endpoint_auth_method": "none",
  "application_type": "native"
}

Response

Registered.

client_idstring required
client_id_issued_atinteger required
client_namestring
redirect_urisstring[] required
grant_typesstring[] required
response_typesstring[] required
token_endpoint_auth_method'none' required

Example response

{
  "client_id": "cli_7Hc2..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.