Skip to main content
Base URL: http://localhost:3100

List contacts

GET /contacts
Example
curl http://localhost:3100/contacts

Create a contact

POST /contacts
name
string
required
Contact display name
email
string
Email address
phone
string
Phone number
organization
string
Organization name
role
string
Role or title
Example
curl -X POST http://localhost:3100/contacts \
  -H "Content-Type: application/json" \
  -d '{"name": "Jane Smith", "email": "jane@example.com", "organization": "Acme Corp"}'

Get a contact

GET /contacts/:slug
Example
curl http://localhost:3100/contacts/jane-smith