Skip to main content
A Stateful Actor project uses the umbrella telnyx.toml manifest (the same file your [[secrets]] and [telnyx] bindings live in). The actor declaration is a [[actors]] array:
Constraints, enforced at ship time: binding and type must be identifiers and must not contain __; type is capped at 32 characters and may not start with telnyx (any case), which is reserved for platform-managed actors; binding names must be unique across all bindings in the file, and SECRETS is reserved as a binding name when the file has a [[secrets]] block. Multiple [[actors]] blocks are allowed — including two bindings pointing at the same type, as long as they declare the same env_vars.

Environment variables

An actor type’s environment is [env_vars.shared], then [env_vars.actor], then its own [[actors]] env_vars — a later layer wins on a key collision. Keys written directly under [env_vars] reach the function, not actors.
Reserved names, the 50-variable cap per actor type, and how to test with telnyx-edge dev are covered in Environment variables. Secrets don’t go here: read them through a [[secrets]] binding and env.SECRETS.