Subscribers

Create a subscriber

Create a subscriber.

If a subscriber already exists, it will be updated with new values. This is non-destructive operation, omitted parameters will not affect the subscriber.

post/1/newsletters/{domain}/subscribers

Path parameters

domaininteger required

Unique identifier of the Domain

Request body

emailstring required

Valid email address as per RFC 2821

fieldsstring[]

Object keys must correspond to field's key.

groupsstring[]

An array of valid identifiers or the names of groups to be created.

Response

Created

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.