---
title: "Create a contact of a customer"
method: POST
path: "/api/external/v2/customers/{customer_id}/contacts"
tags: ["Customers"]
---

# Create a contact of a customer

`POST /api/external/v2/customers/{customer_id}/contacts`

## Request

- Base URL: `https://app.pennylane.com`
- URL: `https://app.pennylane.com/api/external/v2/customers/{customer_id}/contacts`
- Auth: OAuth 2
  - Authorization code: `https://app.pennylane.com/oauth/authorize`
  - Token URL: `https://app.pennylane.com/oauth/oauth/token` scopes: `customers:all`

Create a contact of a customer.
Contacts are a separate resource: creating one does not add its email address
to the invoice recipients of the customer.


> ℹ️
> This endpoint requires the following scope: `customers:all`

## Path parameters

- `customer_id` integer, required

## Headers

- `X-Company-Id` string

## Request body

- object
  - `first_name` string, required
  - `last_name` string, required
  - `role` string: Role of the contact within the customer organization.
  - `email` string, email, required
  - `telephone_number` string: Landline number of the contact.
  - `mobile_number` string: Mobile number of the contact.

## Response `201`

Returns the created contact

- object
  - `id` integer, required
  - `first_name` string, required
  - `last_name` string, required
  - `role` string, required
  - `email` string, required
  - `telephone_number` string, required
  - `mobile_number` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access to this resource forbidden
- `404`: The resource was not found
- `422`: Unprocessable content

## Changes

- **2026-11-03** `871f863307e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pennylane/apis/company-v2/changes/api/external/v2/customers/:customer_id/contacts/post.md)

---

[API](https://skmtc.dev/pennylane/apis/company-v2.md) - [All operations](https://skmtc.dev/pennylane/apis/company-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pennylane/apis/company-v2/revisions/871f863307e5?raw)
