POST
https://api.octopush.com/v1/public/contact-list/createEncodage : UTF-8
Authentification
Your “api-key” and “api-login” identifiers must be added in the headers.
Definition
Allows you to create a blank contact list.
Special parameters
Name | Type | Description |
---|---|---|
list_name | string | Name of the list to be created. |
Example 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" }'
Command to copy/paste
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"}'