Contents
Update document title and emoji
Updates the title and the emoji of the document.
Either title or emoji is required. The request is rejected when neither of them is specified.
This endpoint does not update the content. To update the content, use Update document content.
The user who calls this API must be a member of the project that the document belongs to.
Role
Permission
All permissions
Restriction
No restriction
Method
PATCH
URL
/api/v2/documents/:documentId
URL parameters
| Parameter Name | Type | Description |
|---|---|---|
| documentId (Required) | String | Document ID |
Form parameters
| Parameter Name | Type | Description |
|---|---|---|
| title | String | The title of the document. Send an empty value to clear it. |
| emoji | String | The emoji that is added in front of the title. Send an empty value to remove it. |
A parameter that is not sent is left unchanged.
Response example
Response Body
{
"id": "019b4e27b88b7cc4ae16d72c3de62299",
"projectId": 1,
"title": "Updated title",
"json": null,
"plain": null,
"statusId": 1,
"emoji": "📝",
"createdUserId": 2,
"created": "2025-12-24T02:19:42Z",
"updatedUserId": 2,
"updated": "2025-12-25T04:11:08Z"
}
json and plain are always null in this response, because this endpoint does not read the content of the document.