---
title: "Creer un contact"
method: POST
path: "/api/v1/workspaces/{workspace_id}/contacts"
---

# Creer un contact

`POST /api/v1/workspaces/{workspace_id}/contacts`

## Request

- Base URL: `https://api.yesrelay.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yesrelay.com/api/v1/workspaces/{workspace_id}/contacts`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Relay-Key`

Le numero doit etre unique dans l'equipe (400 `duplicate_number` sinon). Emet l'evenement webhook `contact.created`. Soumis au plafond de contacts du forfait.

## Path parameters

- `workspace_id` string, required

## Request body

- ContactReq
  - `first_name` string, required
  - `last_name` string, nullable
  - `company` string, nullable
  - `job_title` string, nullable
  - `website` string, nullable
  - `avatar_url` string, nullable
  - `notes` string, nullable
  - `phone_numbers` PhoneEntry[], required (unresolved $ref)
  - `emails` EmailEntry[] (unresolved $ref)
  - `tags` TagEntry[] (unresolved $ref)
  - `socials` SocialEntry[] (unresolved $ref)

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yesrelay/apis/relay-api-publique.md) · [All operations](https://skmtc.dev/yesrelay/apis/relay-api-publique/llms.txt) · [OpenAPI document](https://skmtc.dev/yesrelay/apis/relay-api-publique/revisions/6f5eda01fd98?raw)
