Skip to main content
PATCH
Rename a conversation

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Path Parameters

id
string
required

The id.

Body

application/json

Rename the conversation's group channel, as the token tenant. The route reads name off the body (app/api/oauth/v1/conversations/[id]/route.ts:25).

name
string

The new name. Trimmed and capped at 100 chars; a blank/omitted value clears the custom name (stored as null).

Response

Rename result (success + new name or null).

data
object
required

Result of renaming. From renameDmChannel (lib/api/internal-creator/dms/rename.usecase.ts:85-90).