Base URL

The Ozi API is built on REST principles and is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported. The Base URL for all API endpoints is:
Terminal

Authentication

Authentication to the Ozi API is performed via the Authorization header with a Bearer token. To authenticate, you need to include the Authorization header with the word Bearer followed by your token in your API requests like so:
Terminal
You can create a new token/API key under your Ozi Developer Settings.

IDs

Domains and teams are named by random ids with a prefix, such as dom_8h2kq0x7vbn3m5c1z4ty for a domain and team_3m9x0c2v7b1n5k8q4z6w for a team. Use them wherever the API asks for a domain id.
Changed October 2026. Domains and teams used to be named by numbers (1, 2, …). Responses and webhook payloads now carry the new string ids instead: id and teamId on domains, teamId on emails and contact books, domainId on emails, and id / domainId in domain.* and email.* webhook events. If you store these ids, read them as strings.For now, /v1/domains/{id} and the domainId filters still accept a domain’s old number, but only for your own team’s domains. This is deprecated and will be removed: switch to the dom_ id, which you can get from GET /v1/domains.