Audiences

Create a contact in an audience

Resend-compatible route: creates a contact under an audience id.

post/audiences/{audienceId}/contacts

Request

  • Base URL: https://api.mepmail.dev
  • URL: https://api.mepmail.dev/audiences/{audienceId}/contacts
  • Auth: HTTP bearer

Path parameters

audienceIdstring uuid required

Request body

emailstring email required

Bare email address (no display name); unique per team

first_namestring

First name

last_namestring

Last name

unsubscribedboolean

Global opt-out from all marketing sends

propertiesobject

Flat map of custom properties (string or number values)

Response

Contact created in the audience

object'contact' required
idstring uuid required

Changes

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