curl --request PATCH \
--url https://spectrum.photon.codes/projects/{projectId}/platforms/{platform} \
--header 'Content-Type: application/json' \
--data '{}'{
"succeed": true,
"data": {
"imessage": {
"enabled": true
},
"whatsapp_business": {
"enabled": true
},
"voice": {
"enabled": true,
"imessage_enabled": true
},
"slack": {
"enabled": true
}
}
}Updates platform-specific metadata. Can only be called after the platform is enabled (returns 409 otherwise). Use PATCH /platforms to toggle enabled. Requires Authorization: Basic base64(projectId:projectSecret).
curl --request PATCH \
--url https://spectrum.photon.codes/projects/{projectId}/platforms/{platform} \
--header 'Content-Type: application/json' \
--data '{}'{
"succeed": true,
"data": {
"imessage": {
"enabled": true
},
"whatsapp_business": {
"enabled": true
},
"voice": {
"enabled": true,
"imessage_enabled": true
},
"slack": {
"enabled": true
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
Use this file to discover all available pages before exploring further.
imessage, whatsapp_business, voice, slack ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$The body is of type object.
Was this page helpful?