API Reference
Complete reference documentation for the CNCPT Designer Platform API
Getting Started with the API
Learn how to authenticate and make your first API request
The CNCPT Designer Platform API uses bearer token authentication. All API requests should include an Authorization header with your token.
Authorization: Bearer YOUR_TOKENBase URL for all API requests: https://api.cncptdesigner.com/v1 or /api for relative paths.
Authentication
Authenticate and manage user sessions
POST /api/auth/login
Authenticate a user and create a session
// Example request
fetch('/api/auth/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
email: 'user@example.com',
password: 'yourpassword'
})
})
.then(response => response.json())
.then(data => console.log(data));POST /api/auth/logout
End the current user session
// Example request
fetch('/api/auth/logout', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_TOKEN'
}
})
.then(response => response.json())
.then(data => console.log(data));Need more details?
For more detailed information about our API, including request/response schemas and error codes: