The canonical OpenAPI 3.1 description for the Samva email API.
Samva's release process publishes a release here whenever a change to the API changes the document. Issues and pull requests are welcome; CONTRIBUTING.md explains how a pull request reaches a release.
openapi.jsonis the API description: every public operation and awebhookssection with the body of every webhook event Samva sends.manifest.jsonrecords the version, the compatibility class against the previous release, the checksum, and the document's shape.manifest.schema.jsondescribes it.SHA256SUMSlets consumers verify the downloaded artifact before generation.
Pin a release and verify its checksum before generating a client. Name the tag in your build rather than resolving the newest one:
version=v0.47.1
curl -fsSLO "https://github.com/SamvaHQ/samva-openapi/releases/download/$version/openapi.json"
curl -fsSLO "https://github.com/SamvaHQ/samva-openapi/releases/download/$version/SHA256SUMS"
shasum -a 256 -c SHA256SUMSDo not use the live API URL as a build input; it changes as the API does.
See COMPATIBILITY.md for versioning and release behavior.
MIT