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:

env
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

CallFor
app.messagesThe inbound message stream
space.sendEvery outbound text, including the Bot's reply
message.reactThe "like" tapback when the Bot is woken

Full SDK reference: photon.codes/docs/spectrum-ts.