curl --request PUT \
--url https://spectrum.photon.codes/projects/{projectId}/slack/ \
--header 'Content-Type: application/json' \
--data '
{
"enabledFeatures": [
"<string>"
],
"clientId": "<string>",
"clientSecret": "<string>",
"signingSecret": "<string>",
"appId": "<string>"
}
'{
"succeed": true,
"data": {
"appConfigId": "<string>",
"projectId": "<string>",
"enabledFeatures": [
"<string>"
],
"clientId": "<string>",
"clientSecret": "<string>",
"signingSecret": "<string>",
"appId": "<string>",
"installationCount": 4503599627370495,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Creates or updates the project’s Slack app configuration. Partial — omitted fields are preserved on update. Validates enabledFeatures against the FEATURE_CATALOG. The OAuth proxy calls this after apps.manifest.create returns credentials, and may call it again to rotate credentials. NEVER pass a Slack config token (xoxe.xoxp-…) here — that’s a workspace-admin credential and must not be persisted.
curl --request PUT \
--url https://spectrum.photon.codes/projects/{projectId}/slack/ \
--header 'Content-Type: application/json' \
--data '
{
"enabledFeatures": [
"<string>"
],
"clientId": "<string>",
"clientSecret": "<string>",
"signingSecret": "<string>",
"appId": "<string>"
}
'{
"succeed": true,
"data": {
"appConfigId": "<string>",
"projectId": "<string>",
"enabledFeatures": [
"<string>"
],
"clientId": "<string>",
"clientSecret": "<string>",
"signingSecret": "<string>",
"appId": "<string>",
"installationCount": 4503599627370495,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}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.
^([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)$Was this page helpful?