POST
https://api.octopush.com/v1/public/contact-list/createEncodage : UTF-8
Authentification
Vos identifiants “api-key” et “api-login” doivent être ajoutés dans les headers.
Définition
Vous permet de créer une liste de contacts vierge.
Paramètres particuliers
| Nom | Type | Description |
|---|---|---|
list_name | string | Nom de la liste à créer. |
Exemple Curl
curl -X POST \
'https://api.octopush.com/v1/public/contact-list/create' \
-H 'Content-Type: application/json' \
-H 'api-login: ******@email.org' \
-H 'api-key: ************' \
-H 'cache-control: no-cache' \
-d '{
"list_name": "my_list"
}'Code à copier-coller
curl -X POST 'https://api.octopush.com/v1/public/contact-list/create' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache' -d '{"list_name": "my_list"}'