# Create a contact

`POST https://backend.estactics.com/api/contacts/create`

Adds someone to your address book.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `contacts.MANAGE`.

## Body parameters

- `firstName` (string, required): First name.
- `lastName` (string): Last name.
- `type` (string, required): Kind of contact. See List contact types.
- `service` (string, required): What the contact does, for example PLUMBER. See List contact types.
- `email` (string): Email address.
- `country` (string, required): Country name.
- `city` (string): City.
- `address` (string): Street address.
- `website` (string): Website.
- `phoneCountryCode` (string, required): Two-letter country code of the phone number.
- `phoneDialCode` (integer, required): Dial code without the plus sign.
- `phone` (integer, required): National phone number, digits only.
- `notes` (string): Notes.
- `externalLinks` (array of values): Links to profiles on other sites.

## Example request body

```json
{
  "firstName": "Jamie",
  "lastName": "Parker",
  "type": "SERVICE_PROVIDER",
  "service": "PLUMBER",
  "country": "Cyprus",
  "phoneCountryCode": "CY",
  "phoneDialCode": 357,
  "phone": 99123456
}
```

## Example response

```json
{
  "success": true,
  "data": {
    "id": 66
  }
}
```
