POST
/
v1
/
contact
Create Contact
curl --request POST \
  --url https://api.fructu.co/v1/contact \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstname": "John",
  "lastname": "Doe",
  "email": "johndoe@example.com",
  "phone": "+33611223344",
  "status": "1746014351513x596211749688053600",
  "lists": [
    "1746014351513x596211749945813904",
    "1746014351513x3219381149688053629"
  ],
  "user": "1746014351513x595821749688053394",
  "note": "Exemple de note."
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
firstname
string

Prénom du Contact

Example:

"John"

lastname
string

Nom du Contact

Example:

"Doe"

email
string<email>

Adresse Email du Contact

Example:

"johndoe@example.com"

phone
string

Numéro de téléphone du Contact

Example:

"+33611223344"

status
string

Statut actuel du Contact (ID)

Example:

"1746014351513x596211749688053600"

lists
string

Ajouter le Contact dans une ou plusieurs listes (ID)

Example:
[
"1746014351513x596211749945813904",
"1746014351513x3219381149688053629"
]
user
string

Attribuer le Contact à un utilisateur (ID)

Example:

"1746014351513x595821749688053394"

note
string

Attachez une note à ce Contact

Example:

"Exemple de note."

Response

Success

id
string

ID du Contact créé