Introduction to the API

Here you can find information about using the Enveloop API to send messages.

API Tokens

To connect to the Enveloop API you will need to create an API Token for the project you want to interact with. This can be done by visiting the Settings page for the project you are in.

A project in Enveloop, in most cases, represents one of your apps. Each project has its own templates and API tokens/settings.

There are two types of API tokens associated with a project:

  • Production

  • Sandbox

Production tokens begin with live_ and will send actual messages with the configured provider. Sandbox token begin with test_ and only mock the sending action. Therefore, calls made from your app, using your sandbox token, do not connect to the provider on the project.

Important to note: sandbox messages do show up in the Sandbox tab on the Message Log. This allows you to send messages from your local development environment or your CI and test the full interaction without sending live messages. You can preview the contents of the messages as well, allowing a rich inbox experience for local development.

Last updated