Messages
Besday Messages API: read an order’s message thread and send messages to the creator from your own system.
Updated · API version 2026-12-03
Each paid order has one thread between your brand and the creator. Messages sent here show on besday.com too.
The message object#
One message in an order’s thread between your brand and the creator. Contact details (emails, phone numbers, handles) are hidden automatically.
| Field | Description |
|---|---|
objectstring | Always message.message |
idstring | Unique id. |
order_idstring | The order. |
fromstring | Who wrote it.brandcreatorbesday |
bodystring | The text, as delivered. |
created_atstring | ISO 8601 timestamp (UTC) |
read_atstring · nullable | When the other side read it. ISO 8601 timestamp (UTC) |
{
"object": "message",
"id": "msg_5b1c0e",
"order_id": "prj_01HZX8Q4V2",
"from": "creator",
"body": "Got the serum today! Filming tomorrow morning in natural light.",
"created_at": "2026-12-05T21:14:00.000Z",
"read_at": null
}List messages#
GET/api/v1/orders/{id}/messagesscope: read
The order’s message thread with the creator, oldest first.
Path parameters
| Parameter | Description |
|---|---|
idstring · required | The order id. |
Request
curl "https://besday.com/api/v1/orders/prj_01HZX8Q4V2/messages" \
-H "Authorization: Bearer $BESDAY_API_KEY"const res = await fetch("https://besday.com/api/v1/orders/prj_01HZX8Q4V2/messages", {
headers: {
Authorization: `Bearer ${process.env.BESDAY_API_KEY}`,
},
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);import os, uuid, requests
res = requests.get(
"https://besday.com/api/v1/orders/prj_01HZX8Q4V2/messages",
headers={
"Authorization": f"Bearer {os.environ['BESDAY_API_KEY']}",
},
timeout=30,
)
res.raise_for_status()
print(res.json())Response 200
{
"object": "list",
"data": [
{
"object": "message",
"id": "msg_5b1c0e",
"order_id": "prj_01HZX8Q4V2",
"from": "creator",
"body": "Got the serum today! Filming tomorrow morning in natural light.",
"created_at": "2026-12-05T21:14:00.000Z",
"read_at": null
}
],
"has_more": false,
"next_cursor": null
}Errors
404 not_found: No such object for your brand.
Send a message#
POST/api/v1/orders/{id}/messagesscope: read_writeIdempotency-Key
Writes to the creator in the order’s thread. Messages open once the order is paid. Contact details are hidden automatically.
Path parameters
| Parameter | Description |
|---|---|
idstring · required | The order id. |
Body parameters (JSON)
| Parameter | Description |
|---|---|
bodystring · required | The message text. |
Request
curl -X POST "https://besday.com/api/v1/orders/prj_01HZX8Q4V2/messages" \
-H "Authorization: Bearer $BESDAY_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"body": "The serum ships today. Tracking is in your Besday inbox."
}'const res = await fetch("https://besday.com/api/v1/orders/prj_01HZX8Q4V2/messages", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.BESDAY_API_KEY}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"body": "The serum ships today. Tracking is in your Besday inbox."
}),
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);import os, uuid, requests
res = requests.post(
"https://besday.com/api/v1/orders/prj_01HZX8Q4V2/messages",
headers={
"Authorization": f"Bearer {os.environ['BESDAY_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"body": "The serum ships today. Tracking is in your Besday inbox."
},
timeout=30,
)
res.raise_for_status()
print(res.json())Response 201
{
"object": "message",
"id": "msg_5b1c0f",
"order_id": "prj_01HZX8Q4V2",
"from": "brand",
"body": "The serum ships today. Tracking is in your Besday inbox.",
"created_at": "2026-12-05T21:14:00.000Z",
"read_at": null,
"contact_details_hidden": false
}Errors
422 parameter_invalid: A parameter is missing or invalid;paramnames it.409 order_state: The order is not in a status that allows this action.429 rate_limited: Too many requests. Retry after the seconds in the Retry-After header.404 not_found: No such object for your brand.