Get started
SDKs
Official and community client libraries for the Dolores API.
The Dolores REST API is plain JSON over HTTPS — any HTTP client works. We don't ship official SDKs yet, but you can copy the snippets from each API reference page into your project and start calling Dolores in any of:
- curl — universal HTTP CLI
- Node.js — using the built-in
fetch - Python — using
requests - Ruby — using
net/http - PHP — using the
curlextension - Go — using
net/http
Every reference page on this site ships copy-paste-ready snippets in all six languages.
SDK roadmap
We may ship official SDKs in TypeScript, Python, and Ruby when there's demand. If you're using Dolores in a production app and want a typed client, let us know.
Build your own
The API is small and stable enough to wrap by hand. A minimal client only needs to:
- Set
Authorization: Bearer <api_key>on every request. - Set
Content-Type: application/jsononPOST/PATCH. - Surface
Dolores-Request-Idfrom the response so support can trace your calls. - Parse the uniform
{ "error": { "type", "code", "message", "request_id" } }envelope for non-2xx responses.
That's enough to ship.