Menu

Update a topic

PATCH/v1/topics/{id}

Requires an API key with the topics:write scope. About keys and scopes

Admin. Changing mode changes who the topic reaches at once; contacts who chose explicitly keep their choice.

Path parameters

idstringrequired

uuid

Request body

namestringoptional

Unique within the workspace.

1–100 characters

descriptionstring | nulloptional

up to 500 characters

modestringoptional

Who the topic reaches: everyone who has not left, or only who joined.

one of opt_out, opt_in · default "opt_out"

Returns

Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

namestringrequired
descriptionstring | nullrequired
modestringrequired

opt_out reaches everyone who has not left; opt_in only those who joined.

one of opt_out, opt_in

createdAtstringrequired

date-time

updatedAtstringrequired

date-time