Passer au contenu principal
POST
/
contact
Créer un contact
curl --request POST \
  --url https://api.notiline.net/v1/contact \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "+2250709538217",
  "name": "John Doe",
  "surname": "Doe",
  "gender": "male",
  "email": "[email protected]",
  "city": "Abidjan",
  "group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "birth_date": "2023-12-25",
  "external_id": "<string>",
  "avatar_url": "<string>",
  "preferred_language": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "country_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "lot": "<string>",
  "name": "<string>",
  "surname": "<string>",
  "phone_number": "<string>",
  "gender": "<string>",
  "email": "<string>",
  "city": "<string>",
  "birth_date": "2023-12-25",
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "origin": "<string>",
  "modified_from": "<string>",
  "external_id": "<string>",
  "preferred_language": "<string>",
  "avatar_url": "<string>"
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

application/json
phone_number
string

Numéro de téléphone du contact

Exemple:

"+2250709538217"

name
string

Nom du contact

Exemple:

"John Doe"

surname
string

Prénom du contact

Exemple:

"Doe"

gender
string

Genre du contact

Exemple:

"male"

email
string

Adresse e-mail du contact

city
string

Ville du contact

Exemple:

"Abidjan"

group_id
string<uuid>

ID du groupe de contact

birth_date
string<date>

Date de naissance du contact

external_id
string

ID externe du contact

avatar_url
string

URL de l'avatar du contact

preferred_language
string

Langue préférée du contact

Réponse

Opération réussie

Model for contact

id
string<uuid>

ID of the contact

company_id
string<uuid>

Company ID associated with the contact

group_id
string<uuid>

Group ID associated with the contact

country_id
string<uuid>

Country ID associated with the contact

lot
string

Lot associated with the contact

name
string

Name of the contact

surname
string

Surname of the contact

phone_number
string

Phone number of the contact

gender
string

Gender of the contact

email
string

Email of the contact

city
string

City of the contact

birth_date
string<date>

Birth date of the contact

created_by
string<uuid>

User ID who created the contact

origin
string

Origin of the contact

modified_from
string

Modified from of the contact

external_id
string

External ID associated with the contact

preferred_language
string

Preferred language of the contact

avatar_url
string

Avatar URL of the contact