Poggio
Docs
REST APIOAuth

Register Client

OAuth 2.0 Dynamic Client Registration endpoint (RFC 7591). Allows clients to dynamically register without prior authentication.

POST
/v1/oauth/register

Request Body

application/json

client_name?|

Human-readable name of the client

client_uri?|

URL of the client's homepage

contacts?array<>|

Array of contact email addresses

grant_types?array<>

Array of OAuth 2.0 grant types the client will use (authorization code)

Default["authorization_code"]
logo_uri?|

URL that references a logo for the client

policy_uri?|

URL that points to privacy policy

redirect_uris?array<>

Array of redirection URIs for use in redirect-based flows

Default[]
response_types?array<>

Array of OAuth 2.0 response types the client will use (e.g., 'code')

Default["code"]
scope?|

Space-separated list of scope values the client can use

software_id?|

Unique identifier for the client software

software_version?|

Version of the client software

token_endpoint_auth_method?string

Client authentication method at the token endpoint (e.g., 'client_secret_post')

Default"client_secret_post"
tos_uri?|

URL that points to terms of service

Response Body

application/json

application/json

curl -X POST "https://api.poggio.io/v1/oauth/register" \  -H "Content-Type: application/json" \  -d '{}'
{
  "client_id": "string",
  "client_id_issued_at": 0,
  "client_name": "string",
  "client_secret": "string",
  "client_secret_expires_at": 0,
  "client_uri": "string",
  "contacts": [
    "string"
  ],
  "grant_types": [
    "authorization_code"
  ],
  "logo_uri": "string",
  "policy_uri": "string",
  "redirect_uris": [
    "string"
  ],
  "response_types": [
    "string"
  ],
  "scope": "string",
  "software_id": "string",
  "software_version": "string",
  "token_endpoint_auth_method": "string",
  "tos_uri": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}