Assign a conversation
Gives the conversation one owner, a teammate or a team. Sends the conversation.assigned webhook.
Authentication
Bearer tokenbearerAuth
Create a key under Settings › API keys and send it as Authorization: Bearer YOUR_KEY.
Parameters
Request bodyrequired
Responses
404The id doesn't exist in this workspace.application/json
POST/conversations/{conversation_id}/assign
curl https://api.relaypoint.example/v1/conversations/conv_8h2k1x/assign \
--request POST \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"assignee_id": "usr_4fk2p9"
}'const response = await fetch('https://api.relaypoint.example/v1/conversations/conv_8h2k1x/assign', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
assignee_id: 'usr_4fk2p9'
})
})
console.log(response.status, await response.text());import requests
response = requests.post(
"https://api.relaypoint.example/v1/conversations/conv_8h2k1x/assign",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"assignee_id": "usr_4fk2p9"
}
)
print(response.status_code)
print(response.text)<?php
$ch = curl_init('https://api.relaypoint.example/v1/conversations/conv_8h2k1x/assign');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_TOKEN',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'assignee_id' => 'usr_4fk2p9',
]),
]);
$response = curl_exec($ch);
if ($response === false) {
exit('Request failed: ' . curl_error($ch) . PHP_EOL);
}
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), PHP_EOL, $response, PHP_EOL;
curl_close($ch);package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
requestUrl := "https://api.relaypoint.example/v1/conversations/conv_8h2k1x/assign"
payload := strings.NewReader(`{
"assignee_id": "usr_4fk2p9"
}`)
req, _ := http.NewRequest("POST", requestUrl, payload)
req.Header.Add("Authorization", "Bearer YOUR_TOKEN")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}Response
{
"id": "conv_8h2k1x",
"subject": "Webhook deliveries failing with 401",
"status": "open",
"channel": "email",
"customer": {
"id": "cus_31ma7q",
"name": "Jamie Kim",
"email": "jamie@example.com"
},
"assignee": {
"id": "usr_4fk2p9",
"name": "Priya Shah"
},
"tags": [
"webhooks"
],
"created_at": "2026-10-30T09:14:22Z"
}Was this page helpful?