> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openbunny.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Contacts

> Service API endpoints for contact management.

Base URL: `http://localhost:3100`

## List contacts

```bash theme={null}
GET /contacts
```

```bash Example theme={null}
curl http://localhost:3100/contacts
```

## Create a contact

```bash theme={null}
POST /contacts
```

<ParamField body="name" type="string" required>
  Contact display name
</ParamField>

<ParamField body="email" type="string">
  Email address
</ParamField>

<ParamField body="phone" type="string">
  Phone number
</ParamField>

<ParamField body="organization" type="string">
  Organization name
</ParamField>

<ParamField body="role" type="string">
  Role or title
</ParamField>

```bash Example theme={null}
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

```bash theme={null}
GET /contacts/:slug
```

```bash Example theme={null}
curl http://localhost:3100/contacts/jane-smith
```
