Skip to content
dimmiDocs

Overview

API reference

Read and change everything in your dimmi workspace over HTTPS using our JSON REST API.

The dimmi REST API lives at https://trydimmi.com/api/v1 (or https://<your-domain>/api/v1 when self-hosting). Every request and response uses JSON, and every reference page here is built from the exact OpenAPI contract behind our SDKs.

GET/api/v1/conversations

Create an API token in Settings → API tokens and send it in the Authorization header. Each token only gets the abilities you pick, and every endpoint lists the ability it requires.

Terminal window
curl https://trydimmi.com/api/v1/me \
--header "Authorization: Bearer $DIMMI_TOKEN"

List endpoints return a data array and a meta object. Pass meta.next_cursor back as cursor to read the next page.

cursorstring
Cursor from meta.next_cursor for the next page.
per_pageintegerdefault 25
Items per page, up to 100.

When a request fails, dimmi returns a 4xx or 5xx status code with a clear message and machine-readable code.

{
"message": "The body field is required.",
"code": "validation_failed",
"errors": { "body": ["The body field is required."] }
}