Contacts

POST https://api.sunshine.email/contacts

Headers

Name
Type
Description

Authorization*

Bearer

API KEY

Request Body

Name
Type
Description

preferred_name*

String

First name, nickname.

name*

String

Full name.

email*

String

group*

String

UUID of desired group for contact.

sub_reason*

String

This is shown to contacts in the email footer of each email.

(eg. because you opted in to our newsletter, via our website.)

tracking

Boolean

Defines if the contact has agreed for you to track when they open an email or click a contained link.

Last updated

Was this helpful?