Reference
Spectrum
Spectrum is Photon's managed iMessage provider. It owns the line; the bridge only reads messages and sends replies.
Credentials
Create a project at app.photon.codes and copy its id and secret:
PROJECT_ID=...
PROJECT_SECRET=...Set both or neither; one alone stops the bridge at startup. Rotate the secret withphoton projects regenerate-secret.
Which number to text
Your project's line is the iMessage address you text. Find it in the Photon dashboard or withphoton spectrum lines list.
What the bridge uses
| Call | For |
|---|---|
app.messages | The inbound message stream |
space.send | Every outbound text, including the Bot's reply |
message.react | The "like" tapback when the Bot is woken |
Full SDK reference: photon.codes/docs/spectrum-ts.