Send a Message
Sends SMS, email, WhatsApp Personal, WhatsApp Business, iMessage, or Telegram text and image messages. A shared iMessage line sends only in direct Spaces, only to a peer with an active Assignment who has messaged it since that Assignment. SMS and MMS require current Platforms authorization for the sender and every recipient; campaign eligibility is required unless every recipient is in-network.
curl --request POST \
--url https://api.photon.codes/v1/projects/{id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'idempotency-key: <idempotency-key>' \
--data '
{
"content": {
"format": "<string>",
"text": "<string>",
"type": "text"
},
"senderId": "<string>",
"spaceId": "<string>",
"email": {
"bcc": [
{
"address": "<string>",
"name": "<string>"
}
],
"cc": [
{
"address": "<string>",
"name": "<string>"
}
],
"replyTo": [
{
"address": "<string>",
"name": "<string>"
}
],
"subject": "<string>",
"to": [
{
"address": "<string>",
"name": "<string>"
}
]
},
"parentMessageId": "<string>",
"telegram": {
"richMessage": true,
"sendAs": "file"
}
}
'import requests
url = "https://api.photon.codes/v1/projects/{id}/messages"
payload = {
"content": {
"format": "<string>",
"text": "<string>",
"type": "text"
},
"senderId": "<string>",
"spaceId": "<string>",
"email": {
"bcc": [
{
"address": "<string>",
"name": "<string>"
}
],
"cc": [
{
"address": "<string>",
"name": "<string>"
}
],
"replyTo": [
{
"address": "<string>",
"name": "<string>"
}
],
"subject": "<string>",
"to": [
{
"address": "<string>",
"name": "<string>"
}
]
},
"parentMessageId": "<string>",
"telegram": {
"richMessage": True,
"sendAs": "file"
}
}
headers = {
"idempotency-key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'idempotency-key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
content: {format: '<string>', text: '<string>', type: 'text'},
senderId: '<string>',
spaceId: '<string>',
email: {
bcc: [{address: '<string>', name: '<string>'}],
cc: [{address: '<string>', name: '<string>'}],
replyTo: [{address: '<string>', name: '<string>'}],
subject: '<string>',
to: [{address: '<string>', name: '<string>'}]
},
parentMessageId: '<string>',
telegram: {richMessage: true, sendAs: 'file'}
})
};
fetch('https://api.photon.codes/v1/projects/{id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.photon.codes/v1/projects/{id}/messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'content' => [
'format' => '<string>',
'text' => '<string>',
'type' => 'text'
],
'senderId' => '<string>',
'spaceId' => '<string>',
'email' => [
'bcc' => [
[
'address' => '<string>',
'name' => '<string>'
]
],
'cc' => [
[
'address' => '<string>',
'name' => '<string>'
]
],
'replyTo' => [
[
'address' => '<string>',
'name' => '<string>'
]
],
'subject' => '<string>',
'to' => [
[
'address' => '<string>',
'name' => '<string>'
]
]
],
'parentMessageId' => '<string>',
'telegram' => [
'richMessage' => true,
'sendAs' => 'file'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"idempotency-key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.photon.codes/v1/projects/{id}/messages"
payload := strings.NewReader("{\n \"content\": {\n \"format\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"text\"\n },\n \"senderId\": \"<string>\",\n \"spaceId\": \"<string>\",\n \"email\": {\n \"bcc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"cc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"replyTo\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"subject\": \"<string>\",\n \"to\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"parentMessageId\": \"<string>\",\n \"telegram\": {\n \"richMessage\": true,\n \"sendAs\": \"file\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("idempotency-key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.photon.codes/v1/projects/{id}/messages")
.header("idempotency-key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content\": {\n \"format\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"text\"\n },\n \"senderId\": \"<string>\",\n \"spaceId\": \"<string>\",\n \"email\": {\n \"bcc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"cc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"replyTo\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"subject\": \"<string>\",\n \"to\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"parentMessageId\": \"<string>\",\n \"telegram\": {\n \"richMessage\": true,\n \"sendAs\": \"file\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.photon.codes/v1/projects/{id}/messages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["idempotency-key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": {\n \"format\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"text\"\n },\n \"senderId\": \"<string>\",\n \"spaceId\": \"<string>\",\n \"email\": {\n \"bcc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"cc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"replyTo\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"subject\": \"<string>\",\n \"to\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"parentMessageId\": \"<string>\",\n \"telegram\": {\n \"richMessage\": true,\n \"sendAs\": \"file\"\n }\n}"
response = http.request(request)
puts response.read_body{
"content": {
"format": "plain",
"text": "Hello from Photon.",
"type": "text"
},
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "pho_msg_00000000000000000000000001",
"metadata": {},
"platform": "whatsapp",
"projectId": "pho_prj_00000000000000000000000001",
"sentBy": {
"details": {
"resourceId": "pho_res_00000000000000000000000001",
"type": "dedicated"
},
"handle": "+14155550123",
"id": "pho_usr_00000000000000000000000001",
"kind": "agent",
"metadata": {},
"platform": "whatsapp",
"projectId": "pho_prj_00000000000000000000000001"
},
"space": {
"details": {},
"id": "pho_spc_00000000000000000000000001",
"kind": "direct",
"metadata": {},
"participantIds": [
"pho_usr_00000000000000000000000001",
"pho_usr_00000000000000000000000002"
],
"platform": "whatsapp",
"projectId": "pho_prj_00000000000000000000000001"
},
"status": "dispatched",
"timestamps": {
"dispatchedAt": "2026-01-01T00:00:00.000Z"
},
"updatedAt": "2026-01-01T00:00:00.000Z"
}{
"code": "INVALID_REQUEST",
"status": 400,
"title": "Invalid Request",
"type": "https://photon.codes/docs/problems/invalid-request"
}{
"code": "NOT_AUTHENTICATED",
"status": 401,
"title": "Not Authenticated",
"type": "https://photon.codes/docs/problems/not-authenticated"
}{
"code": "BILLING_SUSPENDED",
"status": 402,
"title": "Billing Suspended",
"type": "https://photon.codes/docs/problems/billing-suspended"
}{
"code": "FORBIDDEN",
"status": 403,
"title": "Forbidden",
"type": "https://photon.codes/docs/problems/forbidden"
}{
"code": "SPACE_NOT_FOUND",
"status": 404,
"title": "Space Not Found",
"type": "https://photon.codes/docs/problems/space-not-found"
}{
"code": "ATTACHMENT_NOT_READY",
"status": 409,
"title": "Attachment Not Ready",
"type": "https://photon.codes/docs/problems/attachment-not-ready"
}{
"code": "PAYLOAD_TOO_LARGE",
"status": 413,
"title": "Payload Too Large",
"type": "https://photon.codes/docs/problems/payload-too-large"
}{
"code": "EMAIL_RECIPIENT_SUPPRESSED",
"recipients": [
{
"address": "<string>",
"index": 4503599627370495,
"role": "to"
}
],
"status": 422,
"title": "Email Recipient Suppressed",
"type": "https://photon.codes/docs/problems/email-recipient-suppressed",
"detail": "<string>",
"instance": "<string>",
"remediation": "<unknown>",
"requestId": "<string>"
}{
"code": "INTERNAL_ERROR",
"status": 500,
"title": "Internal Server Error",
"type": "https://photon.codes/docs/problems/internal-error"
}{
"code": "UPSTREAM_FAILURE",
"status": 502,
"title": "Upstream Service Failure",
"type": "https://photon.codes/docs/problems/upstream-failure"
}{
"code": "UPSTREAM_UNAVAILABLE",
"status": 503,
"title": "Upstream Service Unavailable",
"type": "https://photon.codes/docs/problems/upstream-unavailable"
}{
"code": "UPSTREAM_TIMEOUT",
"status": 504,
"title": "Upstream Service Timeout",
"type": "https://photon.codes/docs/problems/upstream-timeout"
}Authorizations
Account Service Key, prefixed with pho_ask_, sent as Authorization: Bearer <key>. Acts on behalf of its owning account, subject to the permissions and credential restrictions of each operation. Account access tokens and OAuth grants also use the Bearer header. In organizations that require SSO, Account Service Keys are not accepted for managing the organization's SSO settings, deleting the organization, or checking whether it can be deleted.
Body
Response
The Message was persisted for asynchronous delivery. Idempotent-Replayed indicates that this request reused an existing Message.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19
- Option 20
- Option 21
- Option 22
- Option 23
- Option 24
- Option 25
- Option 26
- Option 27
- Option 28
- Option 29
- Option 30
When Photon first persisted this resource.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$When Photon last persisted a change to this resource's public state.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Was this page helpful?
curl --request POST \
--url https://api.photon.codes/v1/projects/{id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'idempotency-key: <idempotency-key>' \
--data '
{
"content": {
"format": "<string>",
"text": "<string>",
"type": "text"
},
"senderId": "<string>",
"spaceId": "<string>",
"email": {
"bcc": [
{
"address": "<string>",
"name": "<string>"
}
],
"cc": [
{
"address": "<string>",
"name": "<string>"
}
],
"replyTo": [
{
"address": "<string>",
"name": "<string>"
}
],
"subject": "<string>",
"to": [
{
"address": "<string>",
"name": "<string>"
}
]
},
"parentMessageId": "<string>",
"telegram": {
"richMessage": true,
"sendAs": "file"
}
}
'import requests
url = "https://api.photon.codes/v1/projects/{id}/messages"
payload = {
"content": {
"format": "<string>",
"text": "<string>",
"type": "text"
},
"senderId": "<string>",
"spaceId": "<string>",
"email": {
"bcc": [
{
"address": "<string>",
"name": "<string>"
}
],
"cc": [
{
"address": "<string>",
"name": "<string>"
}
],
"replyTo": [
{
"address": "<string>",
"name": "<string>"
}
],
"subject": "<string>",
"to": [
{
"address": "<string>",
"name": "<string>"
}
]
},
"parentMessageId": "<string>",
"telegram": {
"richMessage": True,
"sendAs": "file"
}
}
headers = {
"idempotency-key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'idempotency-key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
content: {format: '<string>', text: '<string>', type: 'text'},
senderId: '<string>',
spaceId: '<string>',
email: {
bcc: [{address: '<string>', name: '<string>'}],
cc: [{address: '<string>', name: '<string>'}],
replyTo: [{address: '<string>', name: '<string>'}],
subject: '<string>',
to: [{address: '<string>', name: '<string>'}]
},
parentMessageId: '<string>',
telegram: {richMessage: true, sendAs: 'file'}
})
};
fetch('https://api.photon.codes/v1/projects/{id}/messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.photon.codes/v1/projects/{id}/messages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'content' => [
'format' => '<string>',
'text' => '<string>',
'type' => 'text'
],
'senderId' => '<string>',
'spaceId' => '<string>',
'email' => [
'bcc' => [
[
'address' => '<string>',
'name' => '<string>'
]
],
'cc' => [
[
'address' => '<string>',
'name' => '<string>'
]
],
'replyTo' => [
[
'address' => '<string>',
'name' => '<string>'
]
],
'subject' => '<string>',
'to' => [
[
'address' => '<string>',
'name' => '<string>'
]
]
],
'parentMessageId' => '<string>',
'telegram' => [
'richMessage' => true,
'sendAs' => 'file'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"idempotency-key: <idempotency-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.photon.codes/v1/projects/{id}/messages"
payload := strings.NewReader("{\n \"content\": {\n \"format\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"text\"\n },\n \"senderId\": \"<string>\",\n \"spaceId\": \"<string>\",\n \"email\": {\n \"bcc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"cc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"replyTo\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"subject\": \"<string>\",\n \"to\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"parentMessageId\": \"<string>\",\n \"telegram\": {\n \"richMessage\": true,\n \"sendAs\": \"file\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("idempotency-key", "<idempotency-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.photon.codes/v1/projects/{id}/messages")
.header("idempotency-key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"content\": {\n \"format\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"text\"\n },\n \"senderId\": \"<string>\",\n \"spaceId\": \"<string>\",\n \"email\": {\n \"bcc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"cc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"replyTo\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"subject\": \"<string>\",\n \"to\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"parentMessageId\": \"<string>\",\n \"telegram\": {\n \"richMessage\": true,\n \"sendAs\": \"file\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.photon.codes/v1/projects/{id}/messages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["idempotency-key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": {\n \"format\": \"<string>\",\n \"text\": \"<string>\",\n \"type\": \"text\"\n },\n \"senderId\": \"<string>\",\n \"spaceId\": \"<string>\",\n \"email\": {\n \"bcc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"cc\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"replyTo\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"subject\": \"<string>\",\n \"to\": [\n {\n \"address\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"parentMessageId\": \"<string>\",\n \"telegram\": {\n \"richMessage\": true,\n \"sendAs\": \"file\"\n }\n}"
response = http.request(request)
puts response.read_body{
"content": {
"format": "plain",
"text": "Hello from Photon.",
"type": "text"
},
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "pho_msg_00000000000000000000000001",
"metadata": {},
"platform": "whatsapp",
"projectId": "pho_prj_00000000000000000000000001",
"sentBy": {
"details": {
"resourceId": "pho_res_00000000000000000000000001",
"type": "dedicated"
},
"handle": "+14155550123",
"id": "pho_usr_00000000000000000000000001",
"kind": "agent",
"metadata": {},
"platform": "whatsapp",
"projectId": "pho_prj_00000000000000000000000001"
},
"space": {
"details": {},
"id": "pho_spc_00000000000000000000000001",
"kind": "direct",
"metadata": {},
"participantIds": [
"pho_usr_00000000000000000000000001",
"pho_usr_00000000000000000000000002"
],
"platform": "whatsapp",
"projectId": "pho_prj_00000000000000000000000001"
},
"status": "dispatched",
"timestamps": {
"dispatchedAt": "2026-01-01T00:00:00.000Z"
},
"updatedAt": "2026-01-01T00:00:00.000Z"
}{
"code": "INVALID_REQUEST",
"status": 400,
"title": "Invalid Request",
"type": "https://photon.codes/docs/problems/invalid-request"
}{
"code": "NOT_AUTHENTICATED",
"status": 401,
"title": "Not Authenticated",
"type": "https://photon.codes/docs/problems/not-authenticated"
}{
"code": "BILLING_SUSPENDED",
"status": 402,
"title": "Billing Suspended",
"type": "https://photon.codes/docs/problems/billing-suspended"
}{
"code": "FORBIDDEN",
"status": 403,
"title": "Forbidden",
"type": "https://photon.codes/docs/problems/forbidden"
}{
"code": "SPACE_NOT_FOUND",
"status": 404,
"title": "Space Not Found",
"type": "https://photon.codes/docs/problems/space-not-found"
}{
"code": "ATTACHMENT_NOT_READY",
"status": 409,
"title": "Attachment Not Ready",
"type": "https://photon.codes/docs/problems/attachment-not-ready"
}{
"code": "PAYLOAD_TOO_LARGE",
"status": 413,
"title": "Payload Too Large",
"type": "https://photon.codes/docs/problems/payload-too-large"
}{
"code": "EMAIL_RECIPIENT_SUPPRESSED",
"recipients": [
{
"address": "<string>",
"index": 4503599627370495,
"role": "to"
}
],
"status": 422,
"title": "Email Recipient Suppressed",
"type": "https://photon.codes/docs/problems/email-recipient-suppressed",
"detail": "<string>",
"instance": "<string>",
"remediation": "<unknown>",
"requestId": "<string>"
}{
"code": "INTERNAL_ERROR",
"status": 500,
"title": "Internal Server Error",
"type": "https://photon.codes/docs/problems/internal-error"
}{
"code": "UPSTREAM_FAILURE",
"status": 502,
"title": "Upstream Service Failure",
"type": "https://photon.codes/docs/problems/upstream-failure"
}{
"code": "UPSTREAM_UNAVAILABLE",
"status": 503,
"title": "Upstream Service Unavailable",
"type": "https://photon.codes/docs/problems/upstream-unavailable"
}{
"code": "UPSTREAM_TIMEOUT",
"status": 504,
"title": "Upstream Service Timeout",
"type": "https://photon.codes/docs/problems/upstream-timeout"
}