Skip to main content
POST
Create or update a contact

Authorizations

Authorization
string
header
required

API token for authentication

Body

application/json
workspace_id
string
required

The ID of the workspace

Example:

"ws_1234567890"

contact
object
required

Response

Contact upserted successfully

email
string<email>

Email address of the contact

Example:

"user@example.com"

action
enum<string>

The action that was performed: 'create' for new contacts, 'update' for existing contacts, 'error' if validation failed

Available options:
create,
update,
error
Example:

"create"

error
string | null

Error message if the operation failed

Example:

null