🚀 Devdraft Launch Week I is live! Sign up for exclusive access and early features. Learn more →
English
Developers
API documentation and developer resources
Create a new customer in your Devdraft account
curl -X POST https://api.devdraft.ai/v0/customers \ -H "Authorization: Bearer sk_test_your_secret_key" \ -H "Content-Type: application/json" \ -d '{ "name": "John Doe", "email": "john@example.com", "phone": "+1234567890" }'
Show Request Body Parameters
201 Created
{ "id": "cust_123456789", "name": "John Doe", "email": "john@example.com", "phone": "+1234567890", "created_at": "2023-01-01T00:00:00Z", "updated_at": "2023-01-01T00:00:00Z" }
Show Response Fields