KartaWeb. API. V2. Spec
(Karta v1.0.0)
The OpenAPI 3.1 document of /api/v2, built from the operations of the
v2 controllers (OpenApiSpex.ControllerSpecs) and served at
/api/v2/openapi.json. Every request is cast and validated against it
(OpenApiSpex.Plug.CastAndValidate), and the tests check every answer
against it.
Requests are authenticated with an API key of a mail server:
Authorization: Bearer karta_.... Each operation needs a scope of the
key (messages:send, messages:read, credentials:read,
credentials:write, suppressions:read, suppressions:write,
webhooks:read, webhooks:write, routes:read, routes:write).
Everything is scoped to the key's server.