Skip to main content
POST
Subscribe contact by WhatsApp number

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

newsletter
integer
required

The newsletter ID

Body

application/json
whatsapp_number
string
required

WhatsApp phone number of the contact

Example:

"+8801712345678"

status
boolean
required

true = subscribed, false = unsubscribed

Example:

true

name
string | null
Example:

"Jane Doe"

email
string<email> | null
custom_input_value
object[]

Response

data
object
required