---
title: "Create an email contact (only with the person’s email consent)"
method: POST
path: "/api/v1/contacts"
---

# Create an email contact (only with the person’s email consent)

`POST /api/v1/contacts`

## Request

- Base URL: `https://hivepublish.com`
- URL: `https://hivepublish.com/api/v1/contacts`
- Auth: HTTP bearer

Runs create_contact with the same scope, permission and approval rules.

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `email` string, required: The person’s email address.
  - `emailConsent` boolean, required: True only when this person agreed to get emails from you.
  - `firstName` string: First name.
  - `lastName` string: Last name.

## Response `200`

Tool result

- ToolResult
  - `data` unknown, required
  - `meta` object, required
    - `tool` string
    - `workspaceId` string, uuid

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid credential
- `403`: Missing workspace scope, role permission, or plan entitlement

---

[API](https://skmtc.dev/hivepublish/apis/hive-developer-api.md) · [All operations](https://skmtc.dev/hivepublish/apis/hive-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hivepublish/apis/hive-developer-api/revisions/b440c763583e?raw)
