Create Recipient list recipient
Audiences/Recipient lists / Recipient lists
Create Recipient list recipient
Description
Create a recipient where recipientListId is the id of the recipient list that the recipient will be added.
Body
{
"phone": string,
"email": string,
"recipientListId": string,
"isUnsubscribed": boolean,
"values": object,
}
where:
phone: Recipient phone.email: Recipient email.recipientListId: Recipient list id.isUnsubscribed: Flag to prevent sending emails to the recipient.values: Object indexed by column number with the recipient data.
Response
{
"email: "email",
"phone": "phone",
"isDeleted": false,
"isUnsubscribed": false,
"values": {
"0": "first column,
"1": "second column",
"2": "third column",
},
"id": "recipient id",
"recipientListId": "recipient list id"
}
where:
phone: Recipient phone.email: Recipient email.recipientListId: Recipient list id.isUnsubscribed: Flag to prevent sending emails to the recipient.values: Object indexed by column number with the recipient data.id: Recipient id.recipientListId: Recipient list id.
POST
Create Recipient list recipient
Description
Create a recipient whererecipientListId is the id of the recipient list that the recipient will be added.
Body
phone: Recipient phone.email: Recipient email.recipientListId: Recipient list id.isUnsubscribed: Flag to prevent sending emails to the recipient.values: Object indexed by column number with the recipient data.
Response
phone: Recipient phone.email: Recipient email.recipientListId: Recipient list id.isUnsubscribed: Flag to prevent sending emails to the recipient.values: Object indexed by column number with the recipient data.id: Recipient id.recipientListId: Recipient list id.