cURL
curl --request POST \ --url https://api.lumyo.co/contacts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "first_name": "John", "last_name": "Doe", "email": "[email protected]", "metadata": { "phone": "+1234567890", "company": "Example Corp" } } '
{ "id": "01973694-44c1-73ad-80b8-37d8db0b6542", "first_name": "John", "last_name": "Doe", "email": "[email protected]", "created_at": "2025-06-03T16:16:16.000000Z", "metadata": { "phone": "+1234567890", "company": "Example Corp" } }
Create a new contact
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Contact created successfully