Infomaniak DNS
Infomaniak API token setup: create an Infomaniak token with `domain:read` and the DNS scopes needed for preview or apply.
On this page
Infomaniak API token permissions
- Credential type
- API token
- Preview access
- domain:read + dns:read
- Apply access
- domain:read + dns:read + dns:write
- API endpoint
- DNSMigrator uses the provider's fixed API endpoint.
Additional access
DNSControl id
{
"TYPE": "INFOMANIAK"
}Create credentials
Create an Infomaniak token with domain:read and the DNS scopes needed for preview or apply.
Access you'll grant
domain:read + dns:read
domain:read + dns:read + dns:write
Before you start
- An Infomaniak Manager account with access to the domains and DNS zones.
- Your account password to confirm token creation.
Setup steps
0 of 6 done
Open token management
Sign in to Infomaniak Manager and open token management, then select Create a token.
Select the DNS scopes
Select
domain:readanddns:readfor a preview-only connection. Adddns:writeif DNSMigrator will create zones or create, update, or delete records.Previewdomain:read dns:readApplydomain:read dns:read dns:writeAdd DNSSEC access only if needed
Add
domain:writeonly when DNSMigrator should enable or disable DNSSEC for an Infomaniak-registered domain. Record changes do not need this scope.DNSSECdomain:writeChoose the token validity
Select the product or application and choose a validity period. Infomaniak permits unlimited validity by default, but automatically deactivates a token after one year without use; choose a shorter expiry for a migration-only token.
Confirm and copy the token
Confirm creation with your account password, then copy the token immediately. Infomaniak does not display it again.
Paste the token
Paste the complete value into API token. DNSMigrator sends it as an OAuth2 Bearer token to
api.infomaniak.com.
Troubleshooting
The zone list is empty or access is denied immediately
Create a replacement token with domain:read. DNSMigrator's connection check lists domains before it reads any DNS records.
Preview works but records cannot be read
Add dns:read. A successful connection check proves domain:read only; it does not call the record endpoint.
Preview works but apply returns 403
Add dns:write for zone and record changes. Add domain:write separately only when the operation changes DNSSEC.
An old token stopped working
Check its chosen expiry and last use. Infomaniak automatically deactivates a token after one year of inactivity; create a replacement if needed.
Official documentation
- Create and manage Infomaniak API tokens
- List domains API and domain:read scope
- List DNS records API and dns:read scope
- Create DNS records API and dns:write scope
Guide checked against the official documentation on .
Credential fields
| Field | Requirement | Where to find it |
|---|---|---|
| API tokentoken | Required | The secret shown once after Create a token. Use the token carrying domain:read and dns:read, plus dns:write for apply and optional domain:write for DNSSEC. |
Capabilities
- Create zones
- Yes
- List zones
- Yes
- DNSSEC
- Managed through the API
- Minimum TTL
- 60 seconds
- Apex CNAME
- No
- Read only
- No
Record types
- A
- AAAA
- CNAME
- MX
- TXT
- NS
- SRV
- CAA
- DNAME
- DS
- SSHFP
- TLSA
- SMIMEA
Caveats
- The API is limited to 60 requests per minute, so large zones apply slowly (one request per record value).
- TTLs must be between 60 and 86400 seconds.
- PTR records can be read but not created through the API.
Troubleshooting
- The zone list is empty or access is denied immediately
- Create a replacement token with domain:read. DNSMigrator's connection check lists domains before it reads any DNS records.
- Preview works but records cannot be read
- Add dns:read. A successful connection check proves domain:read only; it does not call the record endpoint.
- Preview works but apply returns 403
- Add dns:write for zone and record changes. Add domain:write separately only when the operation changes DNSSEC.
- An old token stopped working
- Check its chosen expiry and last use. Infomaniak automatically deactivates a token after one year of inactivity; create a replacement if needed.