Official Logto connector for sending passcode SMS via the seven gateway.
- Passwordless Sign-In - Wire seven SMS into Logto's passcode sign-in experience
- Per-Use-Case Templates - Distinct message templates for
Register,SignInandTest - Custom Sender ID - Override the displayed sender via the
fromfield
- A Logto project (cloud or self-hosted)
- A seven account with API key (How to get your API key)
In the Logto admin, add a new SMS connector and pick seven. Paste the JSON config below and edit the placeholders:
{
"apiKey": "<your-api-key>",
"from": "<your-sender-id>",
"templates": [
{
"content": "<register template - keep {{code}} placeholder>",
"usageType": "Register"
},
{
"content": "<sign-in template - keep {{code}} placeholder>",
"usageType": "SignIn"
},
{
"content": "<test template - keep {{code}} placeholder>",
"usageType": "Test"
}
]
}| Field | Type | Description |
|---|---|---|
apiKey |
string | Your seven API key |
from |
string | Optional sender ID. Up to 11 alphanumeric or 16 numeric characters |
templates |
Template[] | One template per use case |
| Template field | Type | Allowed values |
|---|---|---|
content |
string | Free-form text. Must contain {{code}} placeholder |
usageType |
enum string | Register / SignIn / Test |
- Click Test in the connector settings to verify your setup with a real phone number.
- After saving, enable the connector in the sign-in experience.
See seven's SMS return codes for what each numeric response means.
Need help? Feel free to contact us or open an issue.