API reference
Support escalations
Support threads handed to Monotree because they need a fix or an answer from Monotree.
Base URL https://partners.monotree.com/api/v1
· every call needs a token
Endpoints
post/support/threads/{thread}/escalations
Escalate a thread to Monotree
post
/support/threads/{thread}/escalations/{escalation}/follow-up
Follow up a released escalation
get
/support/escalations
List escalations
get
/support/escalations/similar
Find similar escalations
get
/support/escalations/{escalation}
Get an escalation
Escalate a thread to Monotree
/support/threads/{thread}/escalations
support:write Hands what the thread is about on to Monotree, your second line: a bug, a feature request, or an investigation into a customer's data. Monotree picks it up and says how it stands (status). Where the same thing was escalated already, send only duplicate_of and the thread is added to that escalation; nothing new goes to Monotree (Find similar escalations shows candidates). The thread must belong to a customer, and keeps its status. Sends support.escalation.created, or support.escalation.updated for a duplicate. In the sandbox nothing reaches Monotree and the escalation stays sent.
Parameters
thread
required
string · path
Accepts an optional Idempotency-Key header to make a retry safe.
Request body
title
string
duplicate_of is sent.
at least 3 characters · at most 120 characters
category
string
duplicate_of is sent.
one of bug, feature_request, investigation
description
string, nullable
at most 10000 characters
tags
array of integers
duplicate_of
string
at most 40 characters
Response · 201 The escalation: the new one, or the one the thread was added to.
id
string
object
string
category
string
one of bug, feature_request, investigation
title
string
description
string, nullable
tags
array of strings
status
string
sent: waiting for Monotree to pick it up. received: Monotree has it. fixed: fixed, not yet shipped. released: it has shipped; follow up on its threads. declined: Monotree will not do it. Every change of status sends support.escalation.updated.
one of sent, received, fixed, released, declined
released_in
string, nullable
customer
object, nullable
id
string
company_name
string
external_ref
string, nullable
threads
array of objects
created_at
string, nullable
fixed_at
string, nullable
released_at
string, nullable
Errors
invalid_idempotency_key: the Idempotency-Key is longer than 255 characters.
invalid_token: the token is missing, revoked or expired.
insufficient_ability: the token lacks the ability this call needs.
not_found: no such support thread, or no such escalation of yours (duplicate_of).
invalid_state: the thread has no customer yet; tie its sender to one first. idempotency_in_progress: a call with the same Idempotency-Key is still running.
validation_error: without duplicate_of, title (3 to 120 characters) and category are needed. idempotency_key_reused: the Idempotency-Key was used for a different request.
rate_limited: more than 20 escalations in an hour (all your tokens of one mode together), or over the general limit. Wait for the number of seconds in Retry-After.
curl -X POST https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations \
-H "Authorization: Bearer $MONOTREE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Invitation link opens a blank page",
"category": "bug",
"description": "On Android 14 the link in the invitation mail opens a blank page.",
"tags": [
1
]
}'$client = new GuzzleHttp\Client();
$response = $client->request('POST', 'https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations', [
'headers' => [
'Authorization' => 'Bearer '.getenv('MONOTREE_TOKEN'),
],
'json' => [
'title' => 'Invitation link opens a blank page',
'category' => 'bug',
'description' => 'On Android 14 the link in the invitation mail opens a blank page.',
'tags' => [
1,
],
],
]);
$data = json_decode($response->getBody(), true);const response = await fetch('https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.MONOTREE_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"title": "Invitation link opens a blank page",
"category": "bug",
"description": "On Android 14 the link in the invitation mail opens a blank page.",
"tags": [
1
]
}),
});
const data = await response.json();import os
import requests
response = requests.post(
"https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations",
headers={
"Authorization": f"Bearer {os.environ['MONOTREE_TOKEN']}",
},
json={
"title": "Invitation link opens a blank page",
"category": "bug",
"description": "On Android 14 the link in the invitation mail opens a blank page.",
"tags": [
1
]
},
)
data = response.json(){
"id": "esc_01m7d1cbwj6agthjesfk7198t7",
"object": "support_escalation",
"category": "bug",
"title": "Invitation link opens a blank page",
"description": "On Android 14 the link in the invitation mail opens a blank page.",
"tags": [
"Invitations"
],
"status": "sent",
"released_in": null,
"customer": {
"id": "cus_01jcz8w3k1x9q2v7s4e6m0b5n8",
"company_name": "Boulangerie Martin",
"external_ref": "org_48213"
},
"threads": [
{
"id": "sth_01m7d1ajq9w7ak2vnnp8hfdwj8",
"relation": "created",
"follow_up_due": false,
"followed_up_at": null,
"follow_up_outcome": null
}
],
"created_at": "2026-11-14T12:44:09Z",
"fixed_at": null,
"released_at": null
}
Only mpt_test_… tokens work here; nothing reaches a real customer. Kept in this browser tab only.
Follow up a released escalation
/support/threads/{thread}/escalations/{escalation}/follow-up
support:write When Monotree releases what was escalated, each thread it came from shows under the followup view until someone says what became of it: told: true where the customer was (or is being) told, false where nobody needs telling. With draft: true the assistant also drafts the message that says it has shipped; it becomes the thread's draft, for you to send. Only a released escalation can be followed up; before that the call answers 409. Following up twice changes nothing.
Parameters
thread
required
string · path
escalation
required
string · path
Accepts an optional Idempotency-Key header to make a retry safe.
Request body
told
required
boolean
true: the customer was (or is being) told. false: nobody needs telling.
draft
boolean
default false
Response · 200 The thread whole.
id
string
object
string
channel
string
chat: their Support room in the Monotree app. email: mail to your support address.
one of chat, email
status
string
open waits for you, waiting waits for the customer. closed is done; dismissed was never one to answer (spam, a mistake, an automatic mail).
one of open, waiting, closed, dismissed
view
string
status, or snoozed for an open or waiting thread put aside until snoozed_until. Never followup: a thread under that view keeps its own view here.
one of open, waiting, snoozed, closed, dismissed
priority
string
normal until the assistant reads the thread or you set it; what you set stays.
one of urgent, high, normal, low
kind
string, nullable
one of question, bug, feature_request, other
subject
string, nullable
summary
string, nullable
preview
string, nullable
language
string, nullable
unread
boolean
unread: false.
customer
object, nullable
id
string
company_name
string
external_ref
string, nullable
person
object
id
string, nullable
email.
object
string
name
string
email
string, nullable
phone
string, nullable
role
string, nullable
title
string, nullable
locale
string, nullable
timezone
string, nullable
departments
array of strings
device
object, nullable
platform
string, nullable
model
string, nullable
os
string, nullable
app_version
string, nullable
last_active_on
string, nullable
verified
boolean
chat
boolean
admin
boolean
customer
object, nullable
customer.
id
string
company_name
string
assignee
object, nullable
id
string
name
string
tags
array of objects
cc
array of objects
signed
boolean
signature setting for a chat and is always true for a mail, unless set on the thread.
needs_person
object, nullable
auto on sends, did not send its draft and one of your people must look. Cleared when one of you answers.
since
string
reason
string, nullable
no_reply_needed
boolean
snoozed_until
string, nullable
resolution
string, nullable
answered, no_reply (there was nothing to answer), no_response (they went quiet), outreach (a message of yours to many people, sent from the portal). Null while it is open or waiting.
dismissed_reason
string, nullable
staff (by hand, no reason given), spam, mistake, duplicate, api (over the API, no reason given); or by the desk itself, auto (an automatic mail) or deleted (they took the message back).
rating
string, nullable
one of positive, negative
rated_at
string, nullable
reopened_count
integer
message_count
integer
started_at
string, nullable
waiting_since
string, nullable
first_response_at
string, nullable
last_message_at
string, nullable
closed_at
string, nullable
updated_at
string, nullable
messages
array of objects
has_earlier_messages
boolean
messages.
notes
array of objects
history
array of objects
escalations
array of objects
draft
object, nullable
id
string
object
string
status
string
queued and running: the assistant is at it. ready: written. failed: it could not be written; see error. cancelled: given up.
one of queued, running, ready, failed, cancelled
round
integer
version
integer
trigger
string
one of new, followup, redraft, manual, release
stale
boolean
body
string, nullable
language
string, nullable
summary
string, nullable
kind
string, nullable
question, bug, feature_request or other.
no_reply_needed
boolean
confidence
string, nullable
one of high, medium, low
recommendation
object, nullable
action
string
send: send the draft. ask_customer: ask the customer for more. create_ticket: escalate to Monotree. close: close without answering. escalate: hand to Monotree now.
one of send, ask_customer, create_ticket, close, escalate
label
string
text
string
unverified
array of strings
questions
array of objects
answers.
answers
array of objects
note
string, nullable
escalation
object, nullable
category
string
bug, feature_request or investigation.
title
string
description
string
tags
array of strings
sources
array of objects
error
string, nullable
status is failed.
outcome
string, nullable
sent_unchanged, edited, replaced: it was sent, as written, changed, or mostly rewritten. discarded: put aside. superseded: an answer went out another way, or a draft for their next turn replaced it. no_reply_accepted: the thread was closed on it.
one of sent_unchanged, edited, replaced, discarded, superseded, no_reply_accepted
created_at
string, nullable
finished_at
string, nullable
Errors
invalid_idempotency_key: the Idempotency-Key is longer than 255 characters.
invalid_token: the token is missing, revoked or expired.
insufficient_ability: the token lacks the ability this call needs.
not_found: no such support thread, or the escalation is not one of that thread.
invalid_state: Monotree has not released the escalation yet. idempotency_in_progress: a call with the same Idempotency-Key is still running.
validation_error: told is missing or not a boolean. idempotency_key_reused: the Idempotency-Key was used for a different request.
rate_limited: too many requests. The general limit is 120 requests a minute for all your tokens of one mode (live or sandbox) together, and 300 a minute per IP address before the token is checked. Some calls have a lower limit of their own, which counts only calls that did what they ask (a call refused with another error uses up no place); the Rate limits guide lists them. Wait for the number of seconds in the Retry-After header.
curl -X POST https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations/esc_01m7d1cbwj6agthjesfk7198t7/follow-up \
-H "Authorization: Bearer $MONOTREE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"told": true,
"draft": true
}'$client = new GuzzleHttp\Client();
$response = $client->request('POST', 'https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations/esc_01m7d1cbwj6agthjesfk7198t7/follow-up', [
'headers' => [
'Authorization' => 'Bearer '.getenv('MONOTREE_TOKEN'),
],
'json' => [
'told' => true,
'draft' => true,
],
]);
$data = json_decode($response->getBody(), true);const response = await fetch('https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations/esc_01m7d1cbwj6agthjesfk7198t7/follow-up', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.MONOTREE_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"told": true,
"draft": true
}),
});
const data = await response.json();import os
import requests
response = requests.post(
"https://partners.monotree.com/api/v1/support/threads/sth_01m7d1ajq9w7ak2vnnp8hfdwj8/escalations/esc_01m7d1cbwj6agthjesfk7198t7/follow-up",
headers={
"Authorization": f"Bearer {os.environ['MONOTREE_TOKEN']}",
},
json={
"told": True,
"draft": True
},
)
data = response.json(){
"id": "sth_01m7d1ajq9w7ak2vnnp8hfdwj8",
"object": "support_thread",
"channel": "chat",
"status": "waiting",
"view": "waiting",
"priority": "high",
"kind": "bug",
"subject": null,
"summary": null,
"preview": "Bonjour, mon invitation ne marche pas.",
"language": "fr",
"unread": false,
"customer": {
"id": "cus_01jcz8w3k1x9q2v7s4e6m0b5n8",
"company_name": "Boulangerie Martin",
"external_ref": "org_48213"
},
"person": {
"id": "per_132",
"object": "support_person",
"name": "Sophie Garnier",
"email": "sophie@boulangeriemartin.example",
"phone": null,
"role": "Manager",
"title": null,
"locale": "fr",
"timezone": null,
"departments": [],
"device": null,
"last_active_on": null,
"verified": true,
"chat": true,
"customer": null
},
"assignee": {
"id": "sel_5",
"name": "Emma Dubois"
},
"tags": [
{
"id": 1,
"name": "Invitations",
"color": "#0e7490"
}
],
"cc": [],
"signed": true,
"needs_person": null,
"no_reply_needed": false,
"snoozed_until": null,
"resolution": null,
"dismissed_reason": null,
"rating": null,
"rated_at": null,
"reopened_count": 0,
"message_count": 2,
"started_at": "2026-11-14T12:43:10Z",
"waiting_since": null,
"first_response_at": "2026-11-14T12:43:21Z",
"last_message_at": "2026-11-14T12:43:21Z",
"closed_at": null,
"updated_at": "2026-11-14T12:44:09Z",
"messages": [
{
"id": "msg_01m7d1ajqgwbvenrpw7gz6xn25",
"object": "support_message",
"direction": "in",
"kind": "message",
"author": {
"type": "customer",
"name": "Sophie Garnier"
},
"body": "Bonjour, mon invitation ne marche pas.",
"edited": false,
"deleted": false,
"attachments": [],
"delivery": null,
"send_state": null,
"sent_at": "2026-11-14T12:43:10Z",
"delivered_at": null
},
{
"id": "msg_01m7d1awpxds8kqrrt6733j0d2",
"object": "support_message",
"direction": "out",
"kind": "message",
"author": {
"type": "api",
"name": "API · Back office, production"
},
"body": "Bonjour Sophie, voici le guide.",
"edited": false,
"deleted": false,
"attachments": [
{
"id": "att_2",
"name": "guide.pdf",
"mime": "application/pdf",
"size": 48213,
"url": "https://partners.monotree.com/api/v1/support/attachments/att_2"
}
],
"delivery": {
"state": "delivered",
"error": null,
"delivered_at": "2026-11-14T12:43:21Z"
},
"send_state": "sent",
"sent_at": "2026-11-14T12:43:21Z",
"delivered_at": "2026-11-14T12:43:21Z"
}
],
"has_earlier_messages": false,
"notes": [
{
"id": "note_2",
"object": "support_note",
"author": {
"type": "api",
"name": "API · Back office, production"
},
"body": "Called the manager; she will try again on Monday.",
"created_at": "2026-11-14T12:43:20Z"
}
],
"history": [
{
"type": "opened",
"by": null,
"details": null,
"at": "2026-11-14T12:43:10Z"
},
{
"type": "assigned",
"by": "API · Back office, production",
"details": {
"assignee": "Emma Dubois"
},
"at": "2026-11-14T12:44:09Z"
}
],
"escalations": [
{
"id": "esc_01m7d1cbwj6agthjesfk7198t7",
"title": "Invitation link opens a blank page",
"category": "bug",
"status": "sent",
"relation": "created",
"released_in": null,
"follow_up_due": false,
"followed_up_at": null,
"follow_up_outcome": null
}
],
"draft": {
"id": "drf_227",
"object": "support_draft",
"status": "ready",
"round": 1,
"version": 1,
"trigger": "new",
"stale": false,
"body": "Bonjour Sophie,\n\nMerci pour votre message.\n\nEssayez d'abord de vous déconnecter puis de vous reconnecter, et vérifiez que l'application Monotree est à jour.",
"language": "fr",
"summary": null,
"kind": "bug",
"no_reply_needed": false,
"confidence": "medium",
"recommendation": {
"action": "create_ticket",
"label": "Escalate to Monotree",
"text": "This sounds like a fault in the app rather than a question. Send the first steps, and escalate it to Monotree if they do not help.",
"unverified": [
"Whether it happens on every phone or only one kind."
]
},
"questions": [],
"answers": [],
"note": null,
"escalation": null,
"sources": [],
"error": null,
"outcome": "superseded",
"created_at": "2026-11-14T12:43:10Z",
"finished_at": "2026-11-14T12:43:10Z"
}
}
Only mpt_test_… tokens work here; nothing reaches a real customer. Kept in this browser tab only.
List escalations
/support/escalations
support:read What you have handed on to Monotree, newest first by when it was escalated, each with the threads it came from. A sandbox token lists the escalations of sandbox customers only.
Parameters
limit
integer · query
default 25 · up to 100
cursor
string · query
next_cursor of the page before, for the next page. Send the same filters with it.
status
string · query
sent: waiting for Monotree to pick it up. received: Monotree has it. fixed: fixed, not yet shipped. released: it has shipped. declined: Monotree will not do it.
one of sent, received, fixed, released, declined
category
string · query
one of bug, feature_request, investigation
customer
string · query
external_ref: and your own reference.
Response · 200 A page of escalations.
object
string
has_more
boolean
next_cursor
string, nullable
cursor for the next page.
data
array of objects
Errors
invalid_cursor: the cursor is not one this API gave out.
invalid_token: the token is missing, revoked or expired.
insufficient_ability: the token lacks the ability this call needs.
not_found: no such customer for your company and mode.
validation_error: a field is missing or invalid; fields says which.
rate_limited: too many requests. The general limit is 120 requests a minute for all your tokens of one mode (live or sandbox) together, and 300 a minute per IP address before the token is checked. Some calls have a lower limit of their own, which counts only calls that did what they ask (a call refused with another error uses up no place); the Rate limits guide lists them. Wait for the number of seconds in the Retry-After header.
curl https://partners.monotree.com/api/v1/support/escalations \
-H "Authorization: Bearer $MONOTREE_TOKEN"$client = new GuzzleHttp\Client();
$response = $client->request('GET', 'https://partners.monotree.com/api/v1/support/escalations', [
'headers' => [
'Authorization' => 'Bearer '.getenv('MONOTREE_TOKEN'),
],
]);
$data = json_decode($response->getBody(), true);const response = await fetch('https://partners.monotree.com/api/v1/support/escalations', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.MONOTREE_TOKEN}`,
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://partners.monotree.com/api/v1/support/escalations",
headers={
"Authorization": f"Bearer {os.environ['MONOTREE_TOKEN']}",
},
)
data = response.json(){
"object": "list",
"has_more": false,
"next_cursor": "string",
"data": [
{
"id": "esc_01m7d1cbwj6agthjesfk7198t7",
"object": "support_escalation",
"category": "bug",
"title": "Invitation link opens a blank page",
"description": "On Android 14 the link in the invitation mail opens a blank page.",
"tags": [
"Invitations"
],
"status": "sent",
"released_in": null,
"customer": {
"id": "cus_01jcz8w3k1x9q2v7s4e6m0b5n8",
"company_name": "Boulangerie Martin",
"external_ref": "org_48213"
},
"threads": [
{
"id": "sth_01m7d1ajq9w7ak2vnnp8hfdwj8",
"relation": "created",
"follow_up_due": false,
"followed_up_at": null,
"follow_up_outcome": null
}
],
"created_at": "2026-11-14T12:44:09Z",
"fixed_at": null,
"released_at": null
}
]
}
Only mpt_test_… tokens work here; nothing reaches a real customer. Kept in this browser tab only.
Find similar escalations
/support/escalations/similar
support:read Escalations of yours that Monotree has not yet released or declined and that share a word of four letters or more with the title and description you are about to send. Those of the category you name come first (bug where you name none), then the newest. At most five, in one answer. Use one as duplicate_of rather than sending the same thing twice.
Parameters
title
required
string · query
description
string · query
category
string · query
one of bug, feature_request, investigation · default bug
Response · 200 Up to five escalations, the likeliest first. Empty where nothing looks alike.
object
string
has_more
boolean
next_cursor
string, nullable
cursor for the next page.
data
array of objects
Errors
invalid_token: the token is missing, revoked or expired.
insufficient_ability: the token lacks the ability this call needs.
validation_error: title is missing, or category is not one of the three.
rate_limited: too many requests. The general limit is 120 requests a minute for all your tokens of one mode (live or sandbox) together, and 300 a minute per IP address before the token is checked. Some calls have a lower limit of their own, which counts only calls that did what they ask (a call refused with another error uses up no place); the Rate limits guide lists them. Wait for the number of seconds in the Retry-After header.
curl https://partners.monotree.com/api/v1/support/escalations/similar \
-H "Authorization: Bearer $MONOTREE_TOKEN"$client = new GuzzleHttp\Client();
$response = $client->request('GET', 'https://partners.monotree.com/api/v1/support/escalations/similar', [
'headers' => [
'Authorization' => 'Bearer '.getenv('MONOTREE_TOKEN'),
],
]);
$data = json_decode($response->getBody(), true);const response = await fetch('https://partners.monotree.com/api/v1/support/escalations/similar', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.MONOTREE_TOKEN}`,
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://partners.monotree.com/api/v1/support/escalations/similar",
headers={
"Authorization": f"Bearer {os.environ['MONOTREE_TOKEN']}",
},
)
data = response.json(){
"object": "list",
"has_more": false,
"next_cursor": "string",
"data": [
{
"id": "esc_01m7d1cbwj6agthjesfk7198t7",
"object": "support_escalation",
"category": "bug",
"title": "Invitation link opens a blank page",
"description": "On Android 14 the link in the invitation mail opens a blank page.",
"tags": [
"Invitations"
],
"status": "sent",
"released_in": null,
"customer": {
"id": "cus_01jcz8w3k1x9q2v7s4e6m0b5n8",
"company_name": "Boulangerie Martin",
"external_ref": "org_48213"
},
"threads": [
{
"id": "sth_01m7d1ajq9w7ak2vnnp8hfdwj8",
"relation": "created",
"follow_up_due": false,
"followed_up_at": null,
"follow_up_outcome": null
}
],
"created_at": "2026-11-14T12:44:09Z",
"fixed_at": null,
"released_at": null
}
]
}
Only mpt_test_… tokens work here; nothing reaches a real customer. Kept in this browser tab only.
Get an escalation
/support/escalations/{escalation}
support:read One escalation: how it stands at Monotree, and for each thread it came from whether a follow-up is due.
Parameters
escalation
required
string · path
Response · 200 The escalation.
id
string
object
string
category
string
one of bug, feature_request, investigation
title
string
description
string, nullable
tags
array of strings
status
string
sent: waiting for Monotree to pick it up. received: Monotree has it. fixed: fixed, not yet shipped. released: it has shipped; follow up on its threads. declined: Monotree will not do it. Every change of status sends support.escalation.updated.
one of sent, received, fixed, released, declined
released_in
string, nullable
customer
object, nullable
id
string
company_name
string
external_ref
string, nullable
threads
array of objects
created_at
string, nullable
fixed_at
string, nullable
released_at
string, nullable
Errors
invalid_token: the token is missing, revoked or expired.
insufficient_ability: the token lacks the ability this call needs.
not_found: no such escalation for your company and mode.
rate_limited: too many requests. The general limit is 120 requests a minute for all your tokens of one mode (live or sandbox) together, and 300 a minute per IP address before the token is checked. Some calls have a lower limit of their own, which counts only calls that did what they ask (a call refused with another error uses up no place); the Rate limits guide lists them. Wait for the number of seconds in the Retry-After header.
curl https://partners.monotree.com/api/v1/support/escalations/esc_01m7d1cbwj6agthjesfk7198t7 \
-H "Authorization: Bearer $MONOTREE_TOKEN"$client = new GuzzleHttp\Client();
$response = $client->request('GET', 'https://partners.monotree.com/api/v1/support/escalations/esc_01m7d1cbwj6agthjesfk7198t7', [
'headers' => [
'Authorization' => 'Bearer '.getenv('MONOTREE_TOKEN'),
],
]);
$data = json_decode($response->getBody(), true);const response = await fetch('https://partners.monotree.com/api/v1/support/escalations/esc_01m7d1cbwj6agthjesfk7198t7', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.MONOTREE_TOKEN}`,
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://partners.monotree.com/api/v1/support/escalations/esc_01m7d1cbwj6agthjesfk7198t7",
headers={
"Authorization": f"Bearer {os.environ['MONOTREE_TOKEN']}",
},
)
data = response.json(){
"id": "esc_01m7d1cbwj6agthjesfk7198t7",
"object": "support_escalation",
"category": "bug",
"title": "Invitation link opens a blank page",
"description": "On Android 14 the link in the invitation mail opens a blank page.",
"tags": [
"Invitations"
],
"status": "sent",
"released_in": null,
"customer": {
"id": "cus_01jcz8w3k1x9q2v7s4e6m0b5n8",
"company_name": "Boulangerie Martin",
"external_ref": "org_48213"
},
"threads": [
{
"id": "sth_01m7d1ajq9w7ak2vnnp8hfdwj8",
"relation": "created",
"follow_up_due": false,
"followed_up_at": null,
"follow_up_outcome": null
}
],
"created_at": "2026-11-14T12:44:09Z",
"fixed_at": null,
"released_at": null
}
Only mpt_test_… tokens work here; nothing reaches a real customer. Kept in this browser tab only.