# Team and security

Roles, per-number access, two-factor authentication.

## Roles

The owner invites colleagues by email and chooses their role.

| Role | Can |
|---|---|
| Owner | Everything, including billing and account ownership. |
| Administrator | Manage everything except paying: team, keys, webhooks, contacts and campaigns. |
| Marketing | Contacts, campaigns and message tracking. |
| Developer | API keys, webhooks, documentation and message tracking. |
| Billing | Plan, payments and invoices only. |
| Viewer | View messages, campaigns and contacts, change nothing. |

## Per-number access

A member can have access to every number, or only some. A marketer at a subsidiary then only sees the contacts, campaigns and messages of the numbers entrusted to them.

## Activity log

Each sensitive action is recorded with its author, time and IP address: invitation, role change, key created or revoked, campaign launched. Authorised members read it in the portal.

## Two-factor authentication

Each member can turn on two-factor authentication (2FA) from *Security*: scan a QR code with an authenticator app, then confirm with a 6-digit code. Recovery codes let you sign back in if the phone is lost. It is optional, but strongly advised for owners and administrators.

## Sign-in protection

After 8 failures in 15 minutes on one account, sign-in is blocked for a few minutes, whatever the address. After 30 failures in a day, it stays blocked until the next day. Each time it happens, the members who manage the account get a notification in the portal and an e-mail. Two-factor blocks after 5 wrong codes in 5 minutes, and after 20 in a day.

When the anti-bot protection is enabled on the service, sign-in asks for a checkbox after 3 failures, and registration always asks for it.

## Signed-in devices

The "Account security" page lists the browsers where your account is open, with their address and last activity. You can sign out one device or all the others. Changing the password through "Forgot password" signs out every device.

## Security log

The activity log has a "Security" filter: blocked sign-ins, limited keys, caps reached, key renewals and device sign-outs.
## Account data

The owner has an *Account data* page in the portal:

- **Export**: a JSON file with members, numbers (without tokens), contacts, templates, campaigns, messages, webhooks, keys (without secrets), invoices and the activity log.
- **Deletion**: after typing the account name, the password (and the two-factor code if turned on), members, numbers, contacts, campaigns, messages, keys and webhooks are permanently deleted. Only invoices are kept, for accounting.

Message logs are deleted automatically every night beyond the length of your plan, and media after 30 days.

## Passwords and keys

- A password has at least 12 characters.
- Key and webhook secrets are shown only once.
- Meta tokens are stored encrypted and never come back out.
