ALACTIC COMMUNICATION 24/7
Keys, scopes and client boundaries
Design your integration so one leaked credential cannot expose your whole portfolio.
Bearer authentication
Public API calls use Authorization: Bearer aldev_…. The secret is generated with cryptographic randomness, stored as a hash and displayed only once. Requests with a missing, revoked or invalid key receive HTTP 401.
Your portal sign-in token is a different credential. It is not a developer API key and cannot be used as one.
Choose the minimum scope
| Scope | Access |
|---|---|
| numbers:read | Read the assigned number |
| contacts:read | List contacts |
| contacts:write | Create contacts and record permission |
| messages:read | Read inbox and conversation history |
| messages:write | Send supported messages |
| templates:read | Read Meta templates |
| media:read | List and download media |
| media:write | Upload and delete media |
| acid:write | Generate ACID replies |
A request without its required permission receives HTTP 403. Request-status lookups require the scope of the original operation. Choosing more scopes does not give access to another project.
Rotate or revoke a key
- Create a replacement key with the same required scopes.
- Update your server’s secret configuration and verify a read-only request.
- Revoke the old key in the portal.
- Check that your integration continues to work, then remove old copies from your own stores.
Revocation stops new calls authenticated by that key. It does not cancel a request that was already accepted by the server or Meta.
Client invitation boundaries
A client invitation is a private seven-day link bound to the invited email address. The recipient must verify that email before accepting. Acceptance grants access only to the selected project. The invitation can be used once; generating another invitation replaces the previous pending link.
The agency owns plan selection, API keys, webhook configuration and billing. A client member can use their own inbox, contacts, templates and connection controls. They do not receive the agency’s billing records or another client’s data.
Keep secrets out of logs
Store only the request ID and the minimum business data your integration needs. API request logs expose route, state, response status, timing and charges. Replay responses are encrypted at rest and expire with the plan’s log retention. Billing ledger records are retained separately for reconciliation.
Download files through authenticated requests. Do not share a bearer key to make a download link work for another person.