Start building with the Zochil API in under 5 minutes
curl -X GET "https://api.zochil.io/user/profile" \ -H "access-token: your_access_token_here" \ -H "device-id: your_device_id_here"
curl -X GET "https://api.zochil.io/user/profile" \ -H "access-token: YOUR_ACCESS_TOKEN" \ -H "device-id: YOUR_DEVICE_ID" \ -H "Content-Type: application/json"
{ "success": true, "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "email": "[email protected]", "name": "John Doe", "created_at": "2023-01-01T00:00:00Z" }, "message": "Profile retrieved successfully" }
{ "success": false, "error": { "code": "UNAUTHORIZED", "message": "Invalid access token" } }