---
title: "DCR with Auth0 API"
url: "https://kongair.terwilligar.com/apis/api-dcr-auth0-2-0-0/versions/b2ff7a29-69e1-48bd-bce3-5032af128fda"
---

# DCR with Auth0 API

OpenAPI specification document.

```json
{"openapi":"3.1.0","info":{"title":"DCR with Auth0 API","description":"API demonstrating Dynamic Client Registration with Auth0","version":"1.0.0"},"servers":[{"url":"https://api.example.com","description":"Main server"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ClientRegistrationRequest":{"type":"object","properties":{"client_name":{"type":"string","description":"Name of the client application"},"redirect_uris":{"type":"array","items":{"type":"string","format":"uri"},"description":"List of allowed redirect URIs"}},"required":["client_name","redirect_uris"],"example":{"client_name":"My App","redirect_uris":["https://myapp.example.com/callback"]}},"ClientRegistrationResponse":{"type":"object","properties":{"client_id":{"type":"string","description":"The client ID assigned by Auth0"},"client_secret":{"type":"string","description":"The client secret (if applicable)"},"client_name":{"type":"string","description":"Name of the client application"}},"example":{"client_id":"YOUR_CLIENT_ID","client_secret":"YOUR_CLIENT_SECRET","client_name":"My App"}},"Resource":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the resource"},"name":{"type":"string","description":"Name of the resource"}},"example":{"id":"123e4567-e89b-12d3-a456-426614174000","name":"Sample Resource"}},"ResourceList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Resource"}},"meta":{"type":"object","properties":{"page":{"type":"object","properties":{"limit":{"type":"integer","description":"Number of items per page"},"offset":{"type":"integer","description":"Offset from the beginning of the dataset"},"total":{"type":"integer","description":"Total number of items in the dataset"},"estimated_total":{"type":"boolean","description":"Indicates if the total is estimated"}}}}}},"example":{"data":[{"id":"123e4567-e89b-12d3-a456-426614174000","name":"Sample Resource"}],"meta":{"page":{"limit":25,"offset":0,"total":1,"estimated_total":false}}}}}},"paths":{"/register":{"post":{"summary":"Register a new client application","description":"Registers a new client application with Auth0 using DCR.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientRegistrationRequest"}}}},"responses":{"201":{"description":"Successful client registration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientRegistrationResponse"}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/resources":{"get":{"summary":"Retrieve a list of resources","description":"Retrieves a list of resources. Requires a valid access token.","security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","description":"Maximum number of items to return","schema":{"type":"integer","format":"int32","minimum":1,"maximum":100,"default":20}},{"name":"offset","in":"query","description":"Number of items to skip for pagination","schema":{"type":"integer","format":"int32","minimum":0,"default":0}}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList"}}}},"401":{"description":"Unauthorized - Missing or invalid token"},"500":{"description":"Internal server error"}}}}},"tags":[{"name":"DCR","description":"Dynamic Client Registration operations"},{"name":"Resources","description":"Operations related to resources"}],"security":[{"bearerAuth":[]}]}
```
