Français
cURL
curl --request PUT \ --url https://api.notiline.net/v1/contact/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phone_number": "+2250709538217", "name": "Jean Dupont", "surname": "Dupont", "group_id": "39fbf8a0-8f1a-48ad-8f9b-7f1b6b2a48f2" } '
{ "status": 200, "message": "OK", "data": { "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>" } }
Met à jour un contact existant
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Numéro de téléphone du contact
"+2250709538217"
Nom du contact
"Jean Dupont"
Prénom du contact
"Dupont"
Identifiant du groupe de contact
"39fbf8a0-8f1a-48ad-8f9b-7f1b6b2a48f2"
Opération réussie
200
"OK"
Model for contact
Afficher attributs enfants