---
title: "Create or update contact"
method: POST
path: "/contacts"
tags: ["Contacts & Audience"]
---

# Create or update contact

`POST /contacts`

## Request

- Base URL: `https://api.envoisms.ma/v1`
- URL: `https://api.envoisms.ma/v1/contacts`
- Auth: HTTP bearer

## Request body

- object
  - `phone` string, required
  - `name` string
  - `email` string, email
  - `list_id` string
  - `custom_fields` object
    - `custom1` string
    - `custom2` string
    - `custom3` string

## Response `201`

Contact created

---

[API](https://skmtc.dev/envoisms/apis/envoisms-ma-api.md) · [All operations](https://skmtc.dev/envoisms/apis/envoisms-ma-api/llms.txt) · [OpenAPI document](https://skmtc.dev/envoisms/apis/envoisms-ma-api/revisions/662db074bd86?raw)
