API versioning and deprecation
This page says how the Mailaki API changes over time and how much warning you get. Mailaki is in beta; this policy applies to the REST API under /v1 as described in the API reference.
Versions
The version is the first part of the path: https://mailaki.com/v1/.... There is one version today, v1. There are no dated versions and no version header to send.
What we can change within a version
Within v1 we only make changes that a working integration should survive. These can happen at any time, without notice:
- New endpoints
- New optional request fields, query parameters and headers
- New fields in responses and in webhook payloads
- New webhook event types, and new values in fields documented as open lists
- Changes to the wording of error messages (the
codefield and the HTTP status stay the same) - Changes to limits, which are published on the limits page
So that these do not break you: ignore fields you do not recognise, do not depend on the order of fields in JSON, and branch on the error code and HTTP status, not on message text.
What counts as a breaking change
- Removing or renaming an endpoint, a request field or a response field
- Changing the type or meaning of an existing field
- Making an optional request field required
- Changing an error
codeor the HTTP status of an existing response - Changing how requests are authenticated or how webhooks are signed
Breaking changes are not made inside v1. They go into a new version with a new path, such as /v2, and v1 keeps working alongside it for the notice period below.
Deprecation and removal
- When a new version is released, the previous version keeps working for at least 12 months from the day we announce its retirement.
- A single endpoint or field can be retired inside a version only with at least 6 months of notice.
- Notice means: an email to the owner of every account that used the affected part of the API in the previous 90 days, a note in the API reference, and a dated entry on this page.
Exceptions
We may change or withdraw something faster when leaving it in place would put customers' data or mail at risk (a security fix), when the law requires it, or when a provider we depend on forces the change. We will still tell affected accounts, as early as we can.
Endpoints and fields marked beta or experimental in the API reference, and anything not in the API reference, are outside this policy and can change without notice.
Scheduled removals
None. Nothing in v1 is currently deprecated.
Availability
This policy is about the shape of the API, not its availability. We do not promise an uptime figure. The measured uptime is on the status page.
See also: Limits, System status and the API reference.