POST /clients { "provider": "auth0-client", "client": { "product": "exampleProduct", "name": "New Client App", "callbacks": ["https://new-callback-url.com"], "grantTypes": ["implicit"], "allowedLogoutUrls": ["https://new-logout-url.com"], "description": "A description for the new client", "clientMetadata": { "key": "value" } } }
📥 Cognito Request
POST /clients { "provider": "cognito-client", "userPoolId": "us-east-1_1234test", "client": { "product": "exampleProduct", "name": "New Client App", "callbacks": ["https://new-callback-url.com"], "grantTypes": ["implicit"], "allowedLogoutUrls": ["https://new-logout-url.com"], "description": "A description for the new client", "clientMetadata": { "key": "value" } } }
📤 Response Example
json { "id": "clientId", "name": "New Client App", "product": "exampleProduct", "callbacks": ["https://new-callback-url.com"], "grantTypes": ["implicit"], "allowedLogoutUrls": ["https://new-logout-url.com"], "description": "A description for the new client", "clientMetadata": { "key":"value" } // More fields may be present depending on the provider }
POST /clients – Creates a new client application.
📥 Request
Headers:
Authorization: Bearer <access_token>(required)Content-Type: application/json or application/x-www-form-urlencoded(required)Body:
Path Parameters:
Query Parameters:
📤 Response
200 OK– Returns the newly created client Client.❗ Errors
400401500Error Response Format
📦 Examples
📥 Auth0 Request
📥 Cognito Request
📤 Response Example