Queues
Ticket
Ticket Link
Ticket Message
webhooks
Workspace
Updates a workspaces
PUT
/
workspaces
/
{id}
Copy
Ask AI
curl --request PUT \
--url https://core.api.ravennahq.com/api/workspaces/{id} \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"name": "<string>",
"slug": "<string>",
"color": "tomato",
"private": true,
"defaultQueueId": "<string>",
"slackBotUsername": "<string>",
"slackBotIcon": {
"base64": "<string>",
"fileName": "<string>"
}
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"organizationId": "<string>",
"creatorId": "<string>",
"private": true,
"color": "tomato",
"slackBotIconUrl": "<string>",
"slackBotUsername": "<string>",
"defaultQueueId": "<string>",
"slackTriageChannel": {
"id": "<string>"
},
"activePersonality": {
"id": "<string>",
"workspaceId": "<string>",
"tone": "<string>",
"emoji": "<string>",
"length": "<string>",
"greeting": "<string>",
"branding": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"settings": {
"id": "<string>",
"ticketAssigneeScope": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
Ask AI
curl --request PUT \
--url https://core.api.ravennahq.com/api/workspaces/{id} \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"name": "<string>",
"slug": "<string>",
"color": "tomato",
"private": true,
"defaultQueueId": "<string>",
"slackBotUsername": "<string>",
"slackBotIcon": {
"base64": "<string>",
"fileName": "<string>"
}
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"organizationId": "<string>",
"creatorId": "<string>",
"private": true,
"color": "tomato",
"slackBotIconUrl": "<string>",
"slackBotUsername": "<string>",
"defaultQueueId": "<string>",
"slackTriageChannel": {
"id": "<string>"
},
"activePersonality": {
"id": "<string>",
"workspaceId": "<string>",
"tone": "<string>",
"emoji": "<string>",
"length": "<string>",
"greeting": "<string>",
"branding": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"settings": {
"id": "<string>",
"ticketAssigneeScope": "<string>"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.