POST
/
bulk-sending
/
contact-group
/
{id}
/
contacts
curl --request POST \
  --url https://api.jsxmail.org/bulk-sending/contact-group/{id}/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "john@example.com",
  "name": "John Doe",
  "contactImportId": "<string>"
}'
{
  "id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "unsubscribeUrl": "<string>",
  "unsubscribeKey": "<string>",
  "contactGroupId": "<string>",
  "contactImportId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the contact group to add a contact to

Body

application/json

The contact data to add to the group

The body is of type object.

Response

201
application/json

Contact created successfully

The response is of type object.