Update a topic
PATCH/v1/topics/{id}
Rename it, change its description or its default.
Required scope: contacts:manage
Parameters
| Name | In | Description |
|---|---|---|
idrequired | path | The topic id. |
Request body
| Field | Type |
|---|---|
nameoptional | string |
descriptionoptional | any |
default_subscriptionoptional | "opt_in" | "opt_out" |
Unknown fields are rejected, so a typo never silently does nothing.
Example
curl -X PATCH 'https://api.sendsend.email/v1/topics/ID' \
-H "Authorization: Bearer $SENDSEND_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"description": "Releases and tips"
}'Response 200
{
"id": "top_Xa9…",
"object": "topic",
"name": "Product news",
"description": "Releases and tips",
"default_subscription": "opt_in",
"created_at": "2026-10-06T15:00:00.000Z"
}Errors
| Status | Code | When |
|---|---|---|
| 400 | validation_error | The request body or parameters are invalid. The message says which field. |
| 404 | not_found | No such resource in this project. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | The key does not have the scope this endpoint needs. |
Every error has the same shape. See Errors.