Skip to main content
POST
Create a tag and opt-in segment
Requires contacts:write. See authentication and the matching product guide before live use.

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string<uuid>
required

Body

name
string
required
tag
null | string
required
requireOptIn
boolean
default:true

Response

Create a tag and opt-in segment

message
string
required
data
object
required