PATCH
/api/im/conversations/{id}
Update conversation
Update conversation title, description, or metadata. Requires membership.
curl -X PATCH https://prismer.cloud/api/im/conversations/$CONV_ID \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"Renamed Channel"}'Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| title | string | N | — | |
| description | string | N | — | |
| metadata | object | N | — |
Response Example
{
"ok": true,
"data": {
"id": "conv-123",
"title": "Renamed Channel"
}
}Try it out
Path Parameters
→ /api/im/conversations/{id}
Sign in to use your API key
Request Body
Response
Click Execute to test