Crear lista de correo
POST
/v1/bulk/lists
const url = 'https://api.mailerdash.com/v1/bulk/lists';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.mailerdash.com/v1/bulk/lists \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example" }'Authorizations
Sección titulada «Authorizations »Request Body required
Sección titulada «Request Body required » Media type application/json
object
name
required
string
Example generated
{ "name": "example"}Responses
Sección titulada « Responses »Lista creada
Media type application/json
object
id
string
name
string
key_id
string
contact_count
integer
created_at
string
Example
{ "id": "clientes-xipe-c76775", "name": "Clientes Xipe", "contact_count": 150}Nombre requerido
No autorizado