cURL
curl --request POST \ --url https://api.example.com/v1/contacts \ --header 'Content-Type: application/json' \ --data ' { "full_name": "<string>", "email": "<string>", "phone": "<string>", "job_title": "<string>", "company_name": "<string>", "linkedin_url": "<string>", "notes": "<string>", "tags": [ {} ] } '
{ "data": { "id": "<string>", "full_name": "<string>", "email": "<string>", "phone": "<string>", "job_title": "<string>", "company_name": "<string>", "linkedin_url": "<string>", "created_at": "<string>", "updated_date": "<string>" } }
Add a new contact to your workspace
Authorization: Bearer wbk_your_api_key_here Content-Type: application/json
Show Contact object
curl -X POST \ https://nbkxaqxwvkgbddekwsma.supabase.co/functions/v1/api-gateway/v1/contacts \ -H "Authorization: Bearer wbk_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "full_name": "John Smith", "email": "john@example.com", "phone": "+1-555-0123", "job_title": "CEO", "company_name": "Tech Corp", "linkedin_url": "https://linkedin.com/in/johnsmith" }'
{ "data": { "id": "789e0123-e45b-67c8-a901-234567890abc", "full_name": "John Smith", "email": "john@example.com", "phone": "+1-555-0123", "job_title": "CEO", "company_name": "Tech Corp", "linkedin_url": "https://linkedin.com/in/johnsmith", "notes": null, "created_at": "2026-02-24T14:30:00Z", "updated_date": "2026-02-24T14:30:00Z" } }
email
phone
validation_error
invalid_key
insufficient_permissions
write
rate_limited
{ "error": { "code": "validation_error", "message": "Invalid request parameters", "details": { "fields": { "full_name": "Required field", "email": "Invalid email format" } } } }