Docs · Public API

Read and write your org from your own code.

REST over HTTPS at https://api.turtini.com, authenticated with an org API key. 52 operations, generated from the same OpenAPI 3.1.0 document the API serves.

Authentication

One header, one org, the scopes you chose.

Authorization: Bearer turtini_<your key>
  • Keys. An org owner or admin mints them at Settings > Partner Dev > API Keys. A key acts on its own org only. The full key is shown once; Turtini keeps only its SHA-256 hash, so a lost key is revoked and replaced, never recovered.
  • Scopes. Each operation below names the scope it needs, usually <resource>:read or <resource>:write. *:read covers every scope ending in :read and *:write every scope ending in :write; neither covers a scope like email:send.
  • Refusals. A missing, unknown or revoked key, or one without the scope, gets the same 401. The answer does not say which check failed.
  • IP allowlist. A key with an allowlist works only from an address on it, matched exactly. When the client address cannot be determined, the key is refused.
  • Revoking. Every request looks its key up, so a revoked key is refused from the next request on.
  • Per-user access. An app that acts for many people uses OAuth 2.0 instead of one shared key: authorization at turtini.com/oauth/authorize, tokens from /v1/oauth/token. Its access tokens go in the same header.

Rate limits

What is enforced today.

  • No per-key request rate limit. The API itself never answers 429 or sends Retry-After.
  • The service runs on at most 20 instances. When all are busy, the hosting platform can answer 429 or 503 before a request reaches the API; @turtini/sdk retries both with backoff.
  • Per request: a list page returns at most 500 records (default 100), search at most 50 matches per resource, an org-context question at most 4,000 characters, and one tag call writes at most 500 contacts.
  • Every request made with an API key counts toward that key's monthly and daily usage, shown beside the key in Settings.

Pagination

Opaque cursors, newest first.

A list answers { data, nextPageToken }. Pass pageToken back until it is null. createdAfter (inclusive) and createdBefore (exclusive) take ISO 8601 times and narrow the window instead of paging the whole collection.

Idempotency

Retries that cannot double-create.

Send an Idempotency-Key header (up to 256 characters) on a write. For 24 hours, a request with the same key in the same org gets the first request's stored response back and runs nothing, whatever its body. One that arrives while the first is still running waits up to 5 seconds, then answers 409 idempotency_pending. Without the header, every request runs. @turtini/sdk sends a fresh key on every write.

Errors

One envelope.

{ "error": { "code": "invalid_argument", "message": "firstName is required." } }

Each operation lists the statuses it can answer.

Reference

Operations

The CLI form is turtini api <METHOD> <path>.

Auth

GET/v1/auth/verify

Verify the API key and return its org context

Useful for CLI `whoami`, smoke tests, or surfacing the connected org in a UI before a destructive action. Any valid scope authorizes the call.

Scope: Any scope

Show parameters, schemas and examples

Response 200

FieldTypeNotes
orgIdrequiredstring
orgNamerequiredstring
orgSlugrequiredstring
keyIdrequiredstring
scopesrequiredstring[]
Example response
{
  "orgId": "org_abc123",
  "orgName": "Example Org",
  "orgSlug": "example-org",
  "keyId": "key_abc123",
  "scopes": [
    "contacts:read",
    "contacts:write"
  ]
}

Errors

  • 401 Missing or invalid API key
curl
curl 'https://api.turtini.com/v1/auth/verify' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/auth/verify
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.auth.whoami()
GET/v1/me

Authoritative org + modules + role snapshot for the connected key

Returns the org, active modules, user role (OAuth only), and key scopes in one read. Use to answer "what is this org?" / "what modules are active?" without scraping the web. Any valid scope authorizes the call.

Scope: Any scope

Show parameters, schemas and examples

Response 200

FieldTypeNotes
orgrequiredobject
org.orgIdrequiredstring
org.orgNamerequiredstring
org.orgSlugrequiredstring
org.pricingPlanstringOne of: org, negotiated, standard, growth, professional, scale, enterprise. Null if not yet set.
org.lifecycleStatusrequired"active" | "paused" | "canceling" | "soft_purged"
org.governmentOrgrequiredboolean
modulesrequiredstring[]Active Turtini module keys for this org (e.g. "crm", "accounting", "lodging"). Sorted.
userobjectPresent only when authenticated via OAuth (per-user grant). Null when authenticated via a server API key.
user.userIdrequiredstring
user.rolerequiredstringRole within the org: owner / admin / member / viewer. Null if the user is not a member.
keyrequiredobject
key.keyIdrequiredstring
key.scopesrequiredstring[]
Example response
{
  "org": {
    "orgId": "org_abc123",
    "orgName": "Example Org",
    "orgSlug": "example-org",
    "pricingPlan": "standard",
    "lifecycleStatus": "active",
    "governmentOrg": false
  },
  "modules": [
    "contacts",
    "events"
  ],
  "user": null,
  "key": {
    "keyId": "key_abc123",
    "scopes": [
      "*:read"
    ]
  }
}

Errors

  • 401 Missing or invalid API key
curl
curl 'https://api.turtini.com/v1/me' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/me

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Org Context

POST/v1/org-context/query

Ask a natural-language question about the connected org

Single-turn text Q&A grounded in the org's real state (modules enabled, counts, recent activity). Use for "summarize last week of CRM activity" / "what's our pricing tier?" Required scope: `context:read`.

Scope: context:read (or *:read)

Show parameters, schemas and examples

Request body

FieldTypeNotes
queryrequiredstringNatural-language question about the connected org.

Response 200

FieldTypeNotes
answerrequiredstring
orgrequiredobject
org.orgIdrequiredstring
org.orgNamerequiredstring
org.orgSlugrequiredstring
usagerequiredobject
usage.inputTokensinteger
usage.outputTokensinteger
usage.cacheReadTokensinteger
usage.cacheCreateTokensinteger
Example response
{
  "answer": "Last week the team added 14 contacts and moved 3 opportunities to Proposal.",
  "org": {
    "orgId": "org_abc123",
    "orgName": "Example Org",
    "orgSlug": "example-org"
  },
  "usage": {
    "inputTokens": 1820,
    "outputTokens": 64,
    "cacheReadTokens": 0,
    "cacheCreateTokens": 0
  }
}

Errors

  • 400 query missing or longer than 4000 characters
  • 401 Missing or invalid API key, or it lacks context:read
  • 412 The org's AI model settings refuse this request
curl
curl -X POST 'https://api.turtini.com/v1/org-context/query' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"Summarize last week of CRM activity."}'
Turtini CLI
turtini api POST /v1/org-context/query --data '{"query":"Summarize last week of CRM activity."}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.context.query("Summarize last week of CRM activity.")

Tools

GET/v1/tools

List the command catalog enabled for the org

The externally-callable twin of the in-app Developer Console: every command (name, kind, input schema, reversible) available to this org based on its active modules. Pair with POST /v1/run. Required scope: `tools:read` (covered by `*:read`).

Scope: tools:read (or *:read)

Show parameters, schemas and examples

Response 200

FieldTypeNotes
countrequiredintegerNumber of commands available.
datarequiredobject[]
data[].toolrequiredstringCommand name, e.g. "account_list" or "module_activate".
data[].kindrequired"read" | "write"read commands return data immediately; write commands preview first and apply only with the confirmationToken from that preview.
data[].descriptionrequiredstring
data[].inputSchemarequiredobjectJSON Schema for the command's args object.
data[].reversiblerequiredbooleanWhether a committed run can be undone. Always false for read commands.
reversibilityrequiredobjectUndo coverage over the write commands in this catalog.
reversibility.writeToolsrequiredinteger
reversibility.reversiblerequiredinteger
reversibility.irreversiblerequiredinteger
reversibility.coveragePctrequirednumberreversible / writeTools, 0-100, one decimal.
reversibility.undoWindowHoursrequiredinteger
reversibility.irreversibleToolsrequiredstring[]
Example response
{
  "data": [
    {
      "tool": "contact_list",
      "kind": "read",
      "description": "List contacts.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "reversible": false
    },
    {
      "tool": "contact_create",
      "kind": "write",
      "description": "Create a contact.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          }
        }
      },
      "reversible": true
    }
  ],
  "count": 2,
  "reversibility": {
    "writeTools": 1,
    "reversible": 1,
    "irreversible": 0,
    "coveragePct": 100,
    "undoWindowHours": 24,
    "irreversibleTools": []
  }
}

Errors

  • 401 Missing/invalid API key, or it lacks the tools:read scope
curl
curl 'https://api.turtini.com/v1/tools' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/tools

@turtini/sdk has no method for this operation yet; use curl or the CLI.

POST/v1/run

Run one platform command

Read commands return data (scope `tools:read`). Write commands (scope `tools:write`) first return a preview and a single-use confirmationToken; re-send the same tool and args with `commit: true` and that token to apply. Commits are audit-logged.

Scope: tools:read or tools:write (or *:read / *:write) tools:read for a read command, tools:write for a write command.

Show parameters, schemas and examples

Request body

FieldTypeNotes
toolrequiredstringCommand name to run (see GET /v1/tools).
argsobjectCommand arguments, shaped by the command's inputSchema. Defaults to {}.
commitbooleanWrite commands only. false (default) returns a preview and a confirmationToken and changes nothing. true applies the change, but only together with that confirmationToken. Ignored for read commands.
confirmationTokenstringThe single-use token a preview returned. Valid for 10 minutes, for the same command and the same args, once. Required with commit:true.

Response 200

FieldTypeNotes
ReadResultvariant
kindrequired"read"
toolrequiredstring
datarequiredanyThe command's result — shape varies by command.
PreviewResultvariantReturned for a write command run without a valid confirmationToken: 200 when commit was false or omitted, 428 (with `error`) when commit:true arrived without one. Nothing changed either way.
kindrequired"preview"
toolrequiredstring
confirmationTokenrequiredstringSend back with commit:true, the same tool and the same args to apply. Single use; expires in 10 minutes.
reversiblerequiredbooleanWhether the change can be undone once committed.
undoWindowHoursrequiredinteger | nullHow long a committed change can be undone; null when it cannot be.
errorobjectPresent only on the 428 answer to commit:true without a token.
error.coderequired"confirmation_required"
error.messagerequiredstring
previewrequiredobject
preview.summaryrequiredstringHuman-readable description of what would change.
preview.fieldsrequiredobject[]
preview.fields[].labelrequiredstring
preview.fields[].valuerequiredstring
preview.targetPathrequiredstringFirestore document path that would be written.
hintrequiredstringReminder to re-send with commit:true to apply.
CommittedResultvariantReturned for a write command run with commit:true and a valid confirmationToken. The change is applied and audit-logged.
kindrequired"committed"
toolrequiredstring
resultPathrequiredstringFirestore document path that was written.
activityIdrequiredstringOrg activity-log entry id (marked API-originated via viaApiKeyId). Undo it there.
reversiblerequiredbooleanWhether this command has an undo at all. When false, undoableUntil promises nothing.
undoableUntilrequiredstring (date-time)When the undo window closes, for a reversible command.
chainStatusrequired"chained" | "deferred""chained": the audit entry is linked into the org's hash-chained activity log. "deferred": it was written but not yet linked; it is sealed on demand from the audit viewer.
Example response
{
  "kind": "preview",
  "tool": "contact_create",
  "preview": {
    "summary": "Create contact Ada Lovelace",
    "fields": [
      {
        "label": "Name",
        "value": "Ada Lovelace"
      }
    ],
    "targetPath": "contacts/abc123"
  },
  "confirmationToken": "eyJhbGciOi...",
  "reversible": true,
  "undoWindowHours": 24,
  "hint": "Dry-run only — nothing changed. Re-send the SAME tool and args with \"commit\": true and this \"confirmationToken\" (single use, expires in 10 minutes) to apply; you can undo it for 24 hours after that."
}

Errors

  • 400 Body missing "tool"
  • 401 Missing/invalid API key, or it lacks the required scope (tools:read for reads, tools:write for writes)
  • 403 The command's module is off for this org, the command acts on one person's own account, or the key has no valid owner
  • 404 Unknown tool name
  • 405 Only POST is accepted
  • 409 The confirmationToken was refused (spent, expired, or minted for other args or another key)
  • 422 The command itself failed (read error, preview failed, or commit failed)
  • 428 commit:true without a confirmationToken. Nothing changed; the body is a fresh preview with a token and an `error`.
  • 501 The command has no handler for this mode
curl
curl -X POST 'https://api.turtini.com/v1/run' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"contact_create","args":{"firstName":"Ada","lastName":"Lovelace"}}'
Turtini CLI
turtini api POST /v1/run --data '{"tool":"contact_create","args":{"firstName":"Ada","lastName":"Lovelace"}}'

@turtini/sdk has no method for this operation yet; use curl or the CLI.

OAuth

POST/v1/oauth/token

Exchange an authorization code, or rotate a refresh token

OAuth 2.0 token endpoint. Authenticate the client with HTTP Basic or client_id/client_secret in the body (public clients send no secret). Form-encoded or JSON. Grants: authorization_code (with PKCE S256) and refresh_token.

Scope: None (no API key)

Show parameters, schemas and examples

Request body

FieldTypeNotes
grant_typerequired"authorization_code" | "refresh_token"
codestringauthorization_code: the code from /oauth/authorize. Single use, valid for 5 minutes.
redirect_uristringauthorization_code: must equal the redirect_uri sent to /oauth/authorize.
code_verifierstringauthorization_code: the PKCE (S256) verifier. Required when the code was issued with a challenge, and for public or self-registered clients.
refresh_tokenstringrefresh_token: the refresh token to rotate. Each one works once; presenting a spent one revokes every token from that authorization.
scopestringrefresh_token: optional space-separated subset of the original grant.
client_idstringClient authentication in the body, when HTTP Basic is not used.
client_secretstringConfidential clients only, when HTTP Basic is not used. Public clients send none.

Response 200

FieldTypeNotes
access_tokenrequiredstringPer-user access token (turtini_oat_...). Send as Authorization: Bearer.
token_typerequired"Bearer"
expires_inrequiredintegerSeconds until the access token expires (3600).
refresh_tokenrequiredstringRotating refresh token (turtini_ort_...), valid for 90 days.
scoperequiredstringSpace-separated scopes granted.
id_tokenstringSigned OpenID Connect ID token, when openid was granted. May be absent on a refresh.
Example response
{
  "access_token": "turtini_oat_...",
  "token_type": "Bearer",
  "expires_in": 3600,
  "refresh_token": "turtini_ort_...",
  "scope": "openid email contacts:read"
}

Errors

  • 400 invalid_request, invalid_grant (bad, expired, reused or mismatched code or refresh token; a reused refresh token also revokes its whole family), invalid_scope or unsupported_grant_type
  • 401 invalid_client: client credentials missing, unknown client_id or wrong client_secret
  • 405 Only POST is accepted
  • 500 server_error: the id_token could not be minted
curl
curl -X POST 'https://api.turtini.com/v1/oauth/token' \
  -H "Content-Type: application/json" \
  -d '{"grant_type":"authorization_code","code":"turtini_oac_...","redirect_uri":"https://app.example.com/callback","code_verifier":"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk","client_id":"client_abc123"}'
Turtini CLI
turtini api POST /v1/oauth/token --data '{"grant_type":"authorization_code","code":"turtini_oac_...","redirect_uri":"https://app.example.com/callback","code_verifier":"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk","client_id":"client_abc123"}'

@turtini/sdk has no method for this operation yet; use curl or the CLI.

POST/v1/oauth/revoke

Revoke an access or refresh token (RFC 7009)

Authenticate the client as for the token endpoint. Only tokens issued to that client are revoked. Answers 200 with an empty body whether or not the token existed.

Scope: None (no API key)

Show parameters, schemas and examples

Request body

FieldTypeNotes
tokenstringThe access or refresh token to revoke. Without it the call does nothing and still answers 200.
token_type_hint"access_token" | "refresh_token"
client_idstringClient authentication in the body, when HTTP Basic is not used.
client_secretstringConfidential clients only, when HTTP Basic is not used.

Response 200

Any JSON object.

Errors

  • 401 Client credentials missing, unknown client_id or wrong client_secret. Empty body.
  • 405 Only POST is accepted. Empty body.
curl
curl -X POST 'https://api.turtini.com/v1/oauth/revoke' \
  -H "Content-Type: application/json" \
  -d '{"token":"turtini_ort_...","token_type_hint":"refresh_token","client_id":"client_abc123"}'
Turtini CLI
turtini api POST /v1/oauth/revoke --data '{"token":"turtini_ort_...","token_type_hint":"refresh_token","client_id":"client_abc123"}'

@turtini/sdk has no method for this operation yet; use curl or the CLI.

GET/v1/oauth/userinfo

OpenID Connect UserInfo for the signed-in user

Send a per-user OAuth access token granted openid (not an API key). Returns the same claims as the id_token, limited to the granted scopes. POST is accepted too.

Scope: None (no API key) Authorization: Bearer <OAuth access token with openid>.

Show parameters, schemas and examples

Response 200

FieldTypeNotes
subrequiredstringSubject: the user id, or a per-client pairwise id for pairwise clients. Matches the id_token.
emailstringWith the email scope.
email_verifiedbooleanWith the email scope.
namestringWith the profile scope.
given_namestringWith the profile scope.
family_namestringWith the profile scope.
picturestringWith the profile scope.
preferred_usernamestringWith the profile scope.
orgstringThe org the user authorized, when there is one.
Example response
{
  "sub": "user_abc123",
  "email": "[email protected]",
  "email_verified": true,
  "name": "Ada Lovelace",
  "given_name": "Ada",
  "family_name": "Lovelace",
  "preferred_username": "[email protected]",
  "org": "org_abc123"
}

Errors

  • 401 invalid_token: missing, invalid, expired or revoked access token
  • 403 insufficient_scope: the token was not granted openid
  • 405 Only GET or POST is accepted
  • 500 server_error: the claims could not be read
curl
curl 'https://api.turtini.com/v1/oauth/userinfo' \
  -H "Authorization: Bearer $TURTINI_ACCESS_TOKEN"
Turtini CLI
turtini api GET /v1/oauth/userinfo

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Meta

GET/v1/openapi.json

This OpenAPI document

No authentication. `for=chatgpt` returns the subset a ChatGPT Action accepts: one security scheme and at most 30 operations.

Scope: None (no API key)

Show parameters, schemas and examples

Parameters

forquery"chatgpt"Return the ChatGPT Actions subset.

Response 200

FieldTypeNotes
openapirequiredstring
inforequiredobject
pathsrequiredobject
Example response
{
  "openapi": "3.1.0",
  "info": {
    "title": "Turtini Public API",
    "version": "1.0.0"
  },
  "paths": {}
}
curl
curl 'https://api.turtini.com/v1/openapi.json'
Turtini CLI
turtini api GET /v1/openapi.json

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Contacts

GET/v1/contacts

List contacts

Paginated list of CRM contacts, newest-first by createdAt. Required scope: `contacts:read` (or `*:read`).

Scope: contacts:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].firstNamerequiredstringLegal / registered given name. Not what the person is addressed by when chosenName is set.
data[].lastNamerequiredstringLegal / registered family name.
data[].chosenNamestringOptional free-text name this person goes by. When present it takes precedence over firstName/lastName wherever the person is addressed.
data[].pronounsstringOptional free text. Never required.
data[].emailstring
data[].phonestring
data[].accountIdstring
data[].titlestring
data[].orgIdrequiredstring
data[].sourcestring
data[].createdAtrequiredstring (date-time)
data[].updatedAtrequiredstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "firstName": "Ada",
      "lastName": "Lovelace",
      "chosenName": "Ada",
      "pronouns": "example",
      "email": "[email protected]",
      "phone": "+1 757 555 0100",
      "accountId": "abc123",
      "title": "Example title",
      "orgId": "abc123",
      "source": "example",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/contacts' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/contacts
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.contacts.list({
  limit: 50,
})
POST/v1/contacts

Create a contact

Required scope: `contacts:write` (or `*:write`).

Scope: contacts:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
firstNamerequiredstring
lastNamerequiredstring
emailstring (email)
phonestring
accountIdstring
titlestring

Response 201

FieldTypeNotes
idrequiredstring
firstNamerequiredstringLegal / registered given name. Not what the person is addressed by when chosenName is set.
lastNamerequiredstringLegal / registered family name.
chosenNamestringOptional free-text name this person goes by. When present it takes precedence over firstName/lastName wherever the person is addressed.
pronounsstringOptional free text. Never required.
emailstring
phonestring
accountIdstring
titlestring
orgIdrequiredstring
sourcestring
createdAtrequiredstring (date-time)
updatedAtrequiredstring (date-time)
Example response
{
  "id": "abc123",
  "firstName": "Ada",
  "lastName": "Lovelace",
  "chosenName": "Ada",
  "pronouns": "example",
  "email": "[email protected]",
  "phone": "+1 757 555 0100",
  "accountId": "abc123",
  "title": "Example title",
  "orgId": "abc123",
  "source": "example",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/contacts' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"firstName":"Ada","lastName":"Lovelace"}'
Turtini CLI
turtini api POST /v1/contacts --data '{"firstName":"Ada","lastName":"Lovelace"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.contacts.create({
  firstName: "Ada",
  lastName: "Lovelace",
})

Contacts/tag

POST/v1/contacts/tag

Tag contacts in bulk

Merges tags onto contacts matched by company name, email domain or id. Never replaces existing tags. Pass `dryRun: true` to see what would be tagged without writing. Required scope: `contacts:write`.

Scope: contacts:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
tagsrequiredstring[]Labels to ADD. Existing tags are kept.
accountNamesstring[]Company names, compared case- and punctuation-insensitively.
emailDomainsstring[]Bare domains, e.g. "example.org". A subdomain matches; a lookalike does not.
contactIdsstring[]Explicit contact ids, when the caller already knows exactly who.
dryRunbooleanReport what would be tagged and write nothing.

Response 200

FieldTypeNotes
dryRunrequiredboolean
tagsrequiredstring[]
matchedrequiredintegerContacts that matched any selector.
taggedrequiredintegerContacts written. 0 on a dry run.
wouldTagrequiredintegerContacts missing at least one of the tags.
alreadyTaggedrequiredinteger
contactsrequiredobject[]
contacts[].idstring
contacts[].namestring
contacts[].accountNamestring
contacts[].emailstring
Example response
{
  "dryRun": false,
  "tags": [
    "example"
  ],
  "matched": 25,
  "tagged": 25,
  "wouldTag": 25,
  "alreadyTagged": 25,
  "contacts": [
    {
      "id": "abc123",
      "name": "Example name",
      "accountName": "example",
      "email": "[email protected]"
    }
  ]
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/contacts/tag' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tags":["conference-2026"],"emailDomains":["example.org"],"dryRun":true}'
Turtini CLI
turtini api POST /v1/contacts/tag --data '{"tags":["conference-2026"],"emailDomains":["example.org"],"dryRun":true}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.contacts.tag({
  tags: ["conference-2026"],
  emailDomains: ["example.org"],
  dryRun: true,
})

Accounts

GET/v1/accounts

List accounts

Read-only in V1. Required scope: `accounts:read`.

Scope: accounts:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].namerequiredstring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtrequiredstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "name": "Example name",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/accounts' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/accounts
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.accounts.list({
  limit: 50,
})

Opportunities

GET/v1/opportunities

List opportunities

Read-only in V1. Required scope: `opportunities:read`.

Scope: opportunities:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].namerequiredstring
data[].stagerequiredstring
data[].amountnumber
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtrequiredstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "name": "Example name",
      "stage": "example",
      "amount": 25,
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/opportunities' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/opportunities
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.opportunities.list({
  limit: 50,
})

Quotes

GET/v1/quotes

List quotes & invoices

Returns the org's quotes and invoices, newest-first. Useful for AI assistants answering "did we send X a quote?" or "what's the status of the Acme renewal invoice?". Required scope: `quotes:read`.

Scope: quotes:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].numberstringHuman-readable quote / invoice number.
data[].accountIdstring
data[].opportunityIdstring
data[].statusstringdraft | sent | accepted | rejected | invoiced | paid (varies by org workflow).
data[].totalnumber
data[].currencystring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "number": "example",
      "accountId": "abc123",
      "opportunityId": "abc123",
      "status": "example",
      "total": 25,
      "currency": "USD",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/quotes' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/quotes
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.quotes.list({
  limit: 50,
})

Products

GET/v1/products

List products

Returns the org's product catalog. Use this to pick line items when assembling quotes, or to look up a product by SKU on the client side. Required scope: `products:read`.

Scope: products:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].namerequiredstring
data[].skustring
data[].pricenumber
data[].currencystring
data[].familystring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "name": "Example name",
      "sku": "example",
      "price": 25,
      "currency": "USD",
      "family": "example",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/products' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/products
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.products.list({
  limit: 50,
})

Notes

POST/v1/notes

Append a note to an account, opportunity, or contact

Log a follow-up, summarize a meeting, drop a reminder on a CRM record. Cross-org references return 404 to prevent existence probing. Required scope: `notes:write`.

Scope: notes:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
entityrequired"account" | "opportunity" | "contact"Which CRM record to attach the note to.
entityIdrequiredstringID of the parent record. Must belong to the caller's org.
textrequiredstringPlain-text note body.

Response 201

FieldTypeNotes
idrequiredstring
textrequiredstring
authorIdrequiredstringapiKey:<keyId> when written via this API.
authorNamerequiredstring
createdAtrequiredstring (date-time)
orgIdrequiredstring
viarequired"public_api"
pathrequiredstringFirestore path of the created note doc, e.g. accounts/<id>/notes/<noteId>.
parentrequiredobject
parent.entityrequired"account" | "opportunity" | "contact"
parent.idrequiredstring
Example response
{
  "id": "abc123",
  "text": "Called to confirm the renewal date.",
  "authorId": "abc123",
  "authorName": "example",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "orgId": "abc123",
  "via": "public_api",
  "path": "example",
  "parent": {
    "entity": "account",
    "id": "abc123"
  }
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/notes' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"entity":"account","entityId":"abc123","text":"Called to confirm the renewal date."}'
Turtini CLI
turtini api POST /v1/notes --data '{"entity":"account","entityId":"abc123","text":"Called to confirm the renewal date."}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.notes.create({
  entity: "account",
  entityId: "abc123",
  text: "Called to confirm the renewal date.",
})

Articles

GET/v1/articles

List articles

Required scope: `articles:read`.

Scope: articles:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].titlerequiredstring
data[].bodyrequiredstring
data[].summarystring
data[].tagsstring[]
data[].visibility"public" | "internal"
data[].statusrequiredstring
data[].authorOrgIdrequiredstring
data[].authorOrgNamestring
data[].authorIdstring
data[].authorNamestring
data[].articleTypeIdstring
data[].moderationStatusstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtrequiredstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "title": "Example title",
      "body": "Example body text.",
      "summary": "example",
      "tags": [
        "example"
      ],
      "visibility": "public",
      "status": "example",
      "authorOrgId": "abc123",
      "authorOrgName": "example",
      "authorId": "abc123",
      "authorName": "example",
      "articleTypeId": "abc123",
      "moderationStatus": "example",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/articles' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/articles
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.articles.list({
  limit: 50,
})
POST/v1/articles

Create an article

Required scope: `articles:write`. Status is always set to `draft` — publish via the in-app review workflow.

Scope: articles:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
titlerequiredstring
bodyrequiredstringHTML or Markdown.
summarystring
articleTypeIdstring
visibility"public" | "internal"
tagsstring[]

Response 201

FieldTypeNotes
idrequiredstring
titlerequiredstring
bodyrequiredstring
summarystring
tagsstring[]
visibility"public" | "internal"
statusrequiredstring
authorOrgIdrequiredstring
authorOrgNamestring
authorIdstring
authorNamestring
articleTypeIdstring
moderationStatusstring
createdAtrequiredstring (date-time)
updatedAtrequiredstring (date-time)
Example response
{
  "id": "abc123",
  "title": "Example title",
  "body": "Example body text.",
  "summary": "example",
  "tags": [
    "example"
  ],
  "visibility": "public",
  "status": "example",
  "authorOrgId": "abc123",
  "authorOrgName": "example",
  "authorId": "abc123",
  "authorName": "example",
  "articleTypeId": "abc123",
  "moderationStatus": "example",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/articles' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Example title","body":"Example body text."}'
Turtini CLI
turtini api POST /v1/articles --data '{"title":"Example title","body":"Example body text."}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.articles.create({
  title: "Example title",
  body: "Example body text.",
})

Articles/update

POST/v1/articles/update

Update an article

Send articleId plus only the fields to change; null clears summary, tags or articleTypeId. Never publishes: a published or scheduled article answers 409. author is a uid or email of an org member. Required scope: `articles:write`.

Scope: articles:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
articleIdrequiredstringAn article authored by this org. Another org's article answers 404.
titlestring
bodystringHTML or Markdown.
summarystring | null
articleTypeIdstring | nullAn article type of this org, or null to clear.
visibility"public" | "internal"
tagsarray | nullReplaces the tag list; null clears it.
authorstringByline: the uid or email of a member of this org.

Response 200

FieldTypeNotes
idrequiredstring
titlerequiredstring
bodyrequiredstring
summarystring
tagsstring[]
visibility"public" | "internal"
statusrequiredstring
authorOrgIdrequiredstring
authorOrgNamestring
authorIdstring
authorNamestring
articleTypeIdstring
moderationStatusstring
createdAtrequiredstring (date-time)
updatedAtrequiredstring (date-time)
Example response
{
  "id": "abc123",
  "title": "Example title",
  "body": "Example body text.",
  "summary": "example",
  "tags": [
    "example"
  ],
  "visibility": "public",
  "status": "example",
  "authorOrgId": "abc123",
  "authorOrgName": "example",
  "authorId": "abc123",
  "authorName": "example",
  "articleTypeId": "abc123",
  "moderationStatus": "example",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/articles/update' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"articleId":"abc123","title":"Spring open house","summary":"Tours, music and food on April 12."}'
Turtini CLI
turtini api POST /v1/articles/update --data '{"articleId":"abc123","title":"Spring open house","summary":"Tours, music and food on April 12."}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.articles.update({
  articleId: "abc123",
  title: "Spring open house",
  summary: "Tours, music and food on April 12.",
})

Events

GET/v1/events

List events

Required scope: `events:read`.

Scope: events:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].titlerequiredstring
data[].slugrequiredstring
data[].daterequiredstringISO date or full ISO datetime.
data[].startTimestring
data[].endTimestring
data[].endDatestring
data[].locationstring
data[].descriptionstring
data[].statusrequired"published" | "draft"
data[].visibilityrequired"public" | "private"
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtrequiredstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "title": "Example title",
      "slug": "spring-gala",
      "date": "2026-12-05",
      "startTime": "18:00",
      "endTime": "21:00",
      "endDate": "2026-12-05",
      "location": "example",
      "description": "Example description.",
      "status": "published",
      "visibility": "public",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/events' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/events
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.events.list({
  limit: 50,
})
POST/v1/events

Create an event

Required scope: `events:write`.

Scope: events:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
titlerequiredstring
daterequiredstringISO date or YYYY-MM-DD.
startTimestringHH:mm.
endTimestring
endDatestring
locationstring
descriptionstring
status"published" | "draft"
visibility"public" | "private"
slugstring

Response 201

FieldTypeNotes
idrequiredstring
titlerequiredstring
slugrequiredstring
daterequiredstringISO date or full ISO datetime.
startTimestring
endTimestring
endDatestring
locationstring
descriptionstring
statusrequired"published" | "draft"
visibilityrequired"public" | "private"
orgIdrequiredstring
createdAtrequiredstring (date-time)
updatedAtrequiredstring (date-time)
Example response
{
  "id": "abc123",
  "title": "Example title",
  "slug": "spring-gala",
  "date": "2026-12-05",
  "startTime": "18:00",
  "endTime": "21:00",
  "endDate": "2026-12-05",
  "location": "example",
  "description": "Example description.",
  "status": "published",
  "visibility": "public",
  "orgId": "abc123",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/events' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Example title","date":"2026-12-05"}'
Turtini CLI
turtini api POST /v1/events --data '{"title":"Example title","date":"2026-12-05"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.events.create({
  title: "Example title",
  date: "2026-12-05",
})

Events/update

POST/v1/events/update

Update an event

Send eventId plus only the fields to change; null clears startTime, endTime, endDate, location or description. status and visibility follow the same rules as create. Required scope: `events:write`.

Scope: events:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdrequiredstringAn event of this org. Another org's event answers 404.
titlestring
datestringISO date or YYYY-MM-DD.
startTimestring | nullHH:mm.
endTimestring | null
endDatestring | null
locationstring | null
descriptionstring | null
status"published" | "draft"
visibility"public" | "private"
slugstring

Response 200

FieldTypeNotes
idrequiredstring
titlerequiredstring
slugrequiredstring
daterequiredstringISO date or full ISO datetime.
startTimestring
endTimestring
endDatestring
locationstring
descriptionstring
statusrequired"published" | "draft"
visibilityrequired"public" | "private"
orgIdrequiredstring
createdAtrequiredstring (date-time)
updatedAtrequiredstring (date-time)
Example response
{
  "id": "abc123",
  "title": "Example title",
  "slug": "spring-gala",
  "date": "2026-12-05",
  "startTime": "18:00",
  "endTime": "21:00",
  "endDate": "2026-12-05",
  "location": "example",
  "description": "Example description.",
  "status": "published",
  "visibility": "public",
  "orgId": "abc123",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/events/update' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"evt123","location":"Main Hall","startTime":"18:00"}'
Turtini CLI
turtini api POST /v1/events/update --data '{"eventId":"evt123","location":"Main Hall","startTime":"18:00"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.events.update({
  eventId: "evt123",
  location: "Main Hall",
  startTime: "18:00",
})

Events/ticketing

POST/v1/events/ticketing

Configure ticketing on an event

Send only the fields to change. ticketTypes is the COMPLETE list: a type that has sold cannot be removed or have capacity cut below its sales. Required scope: `ticketing:write`.

Scope: ticketing:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdrequiredstring
ticketingEnabledboolean
ticketTypesobject[]
ticketTypes[].idstringAn existing ticket type id to update it. Omit to add a new type.
ticketTypes[].namerequiredstring
ticketTypes[].descriptionstring
ticketTypes[].pricenumberDollars, whole cents (15 or 12.5). 0 = free.
ticketTypes[].capacityinteger0 = unlimited. Cannot go below what has sold.
ticketTypes[].visiblebooleanfalse stops selling it without removing it. Default true.
ticketTypes[].saleStartstringISO datetime. Omit to sell as soon as ticketing is on.
ticketTypes[].saleEndstringISO datetime. Omit to sell through the event.
ticketTypes[].transferableboolean
ticketTypes[].pwycbooleanPay what you can; price is the suggested amount.
ticketTypes[].minPricenumber
addOnItemsobject[]COMPLETE list of add-ons (drink / food credits) sold with or after a ticket and redeemed by scanning the ticket QR. Their money is never part of admission or partner share.
addOnItems[].idstringExisting add-on id, to update it. Omit to add.
addOnItems[].namerequiredstring
addOnItems[].pricerequirednumberDollars, whole cents.
addOnItems[].categoryrequired"drink" | "food" | "other"
addOnItems[].visibleboolean
addOnItems[].maxPerOrderinteger
addOnItems[].descriptionstring
capacityintegerOverall cap across all ticket types. 0 = unlimited.
onSaleStartsAtstring | nullISO datetime sales open, or null to sell immediately.
publicTicketPagebooleanList on the public ticket page.
venueNamestring
knowBeforeYouGostring
status"published" | "draft"
visibility"public" | "private"

Response 200

FieldTypeNotes
idrequiredstringThe event id.
ticketingEnabledrequiredboolean
statusrequired"published" | "draft"
visibilityrequired"public" | "private"
capacityrequiredinteger
onSaleStartsAtstring | null
ticketTypesrequiredobject[]
ticketTypes[].idrequiredstring
ticketTypes[].namerequiredstring
ticketTypes[].pricerequirednumber
ticketTypes[].capacityinteger
ticketTypes[].soldCountinteger
ticketTypes[].visibleboolean
ticketTypes[].saleStartstring | null
ticketTypes[].saleEndstring | null
ticketTypes[].pwycboolean
ticketTypes[].minPricenumber
addOnItemsrequiredobject[]
publicUrlrequiredstringThe public ticket page for the event.
warningsrequiredstring[]Why the event may not sell as configured (no ticket types, no payment processor, still a draft).
Example response
{
  "id": "abc123",
  "ticketingEnabled": false,
  "status": "published",
  "visibility": "public",
  "capacity": 25,
  "onSaleStartsAt": "example",
  "ticketTypes": [
    {
      "id": "abc123",
      "name": "Example name",
      "price": 25,
      "capacity": 25,
      "soldCount": 25,
      "visible": false,
      "saleStart": "example",
      "saleEnd": "example",
      "pwyc": false,
      "minPrice": 25
    }
  ],
  "addOnItems": [
    {}
  ],
  "publicUrl": "https://example.org",
  "warnings": [
    "example"
  ]
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/events/ticketing' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"abc123"}'
Turtini CLI
turtini api POST /v1/events/ticketing --data '{"eventId":"abc123"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.ticketing.configure({
  eventId: "abc123",
})

Eventpartners

Eventpartners/list

POST/v1/eventpartners/list

List partner ticket links on an event

Read-only, as POST so it returns a projection: never bank details, only whether the partner has sent them. Required scope: `ticketing:write`.

Scope: ticketing:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdrequiredstring

Response 200

FieldTypeNotes
eventIdrequiredstring
termsrequiredobject
terms.shareBpsrequiredintegerWhat the partner keeps, in basis points (5000 = 50%).
terms.feeHandlingrequired"split" | "host-absorbs" | "partner-absorbs"
partnersrequiredobject[]
partners[].partnerIdrequiredstring
partners[].namerequiredstring
partners[].coderequiredstring
partners[].activerequiredboolean
partners[].contactNamestring
partners[].contactEmailstring
partners[].shareBpsrequiredinteger
partners[].ticketUrlrequiredstring
partners[].embedHtmlstring
partners[].payoutDetailsReceivedrequiredbooleanWhether the partner has sent payout details. The details themselves are never returned.
partners[].paidAtstring | null
Example response
{
  "eventId": "abc123",
  "terms": {
    "shareBps": 25,
    "feeHandling": "split"
  },
  "partners": [
    {
      "partnerId": "abc123",
      "name": "Example name",
      "code": "spring-gala",
      "active": false,
      "contactName": "example",
      "contactEmail": "[email protected]",
      "shareBps": 25,
      "ticketUrl": "https://example.org",
      "embedHtml": "example",
      "payoutDetailsReceived": false,
      "paidAt": "example"
    }
  ]
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/eventpartners/list' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"abc123"}'
Turtini CLI
turtini api POST /v1/eventpartners/list --data '{"eventId":"abc123"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.ticketing.listPartners("abc123")

Eventpartners/terms

POST/v1/eventpartners/terms

Set partner share terms on an event

Terms re-price every partner ticket already sold, so once one has sold a reason is required and recorded. Required scope: `ticketing:write`.

Scope: ticketing:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdrequiredstring
sharePercentrequirednumberWhat the partner keeps, as a percent (50, not 0.5).
feeHandling"split" | "host-absorbs" | "partner-absorbs"
reasonstringRequired once partner tickets have sold.

Response 200

FieldTypeNotes
eventIdrequiredstring
termsrequiredobject
terms.shareBpsrequiredintegerWhat the partner keeps, in basis points (5000 = 50%).
terms.feeHandlingrequired"split" | "host-absorbs" | "partner-absorbs"
ticketsAffectedrequiredintegerPartner tickets already sold that the new terms re-price.
Example response
{
  "eventId": "abc123",
  "terms": {
    "shareBps": 25,
    "feeHandling": "split"
  },
  "ticketsAffected": 25
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/eventpartners/terms' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"abc123","sharePercent":25}'
Turtini CLI
turtini api POST /v1/eventpartners/terms --data '{"eventId":"abc123","sharePercent":25}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.ticketing.setTerms({
  eventId: "abc123",
  sharePercent: 25,
})

Eventorders/list

POST/v1/eventorders/list

List ticket orders

Read-only. One row per order; never a ticket QR or view token. Omit eventId for every event. Required scope: `eventOrders:read`.

Scope: eventOrders:read (or *:read)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdstring
limitintegerPage size.
pageTokenstringThe nextPageToken from the previous page.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].orderIdrequiredstring
data[].eventIdstring | null
data[].eventTitlestring | null
data[].ticketTypeIdstring | null
data[].ticketTypeNamestring | null
data[].quantityrequiredinteger
data[].statusstring | nullconfirmed, refunded or voided.
data[].admissionCentsrequiredintegerWhat admission cost, after any discount. Excludes the service fee, add-ons and gifts.
data[].serviceFeeCentsrequiredintegerThe service fee the buyer paid when the org passes card costs on. 0 when the org absorbs them.
data[].currencyrequired"usd"
data[].buyerNamestring | null
data[].buyerEmailstring | null
data[].createdAtstring | null
data[].refundedCentsinteger | null
data[].refundedAtstring | null
data[].checkedInCountrequiredinteger
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "orderId": "abc123",
      "eventId": "abc123",
      "eventTitle": "example",
      "ticketTypeId": "abc123",
      "ticketTypeName": "example",
      "quantity": 25,
      "status": "example",
      "admissionCents": 25,
      "serviceFeeCents": 25,
      "currency": "usd",
      "buyerName": "example",
      "buyerEmail": "example",
      "createdAt": "example",
      "refundedCents": 25,
      "refundedAt": "example",
      "checkedInCount": 25
    }
  ],
  "nextPageToken": "example"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/eventorders/list' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"evt123","limit":100}'
Turtini CLI
turtini api POST /v1/eventorders/list --data '{"eventId":"evt123","limit":100}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.eventOrders.list({
  eventId: "evt123",
  limit: 100,
})

Eventorders/tickets

POST/v1/eventorders/tickets

List tickets (admissions)

Read-only. ticketId is <orderId>-<n>, never the QR token. Required scope: `eventOrders:read`.

Scope: eventOrders:read (or *:read)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdstring
limitintegerPage size.
pageTokenstringThe nextPageToken from the previous page.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].ticketIdrequiredstring
data[].orderIdrequiredstring
data[].indexrequiredinteger
data[].holderNamestring | null
data[].holderEmailstring | null
data[].checkedInrequiredboolean
data[].checkedInAtstring | null
data[].eventIdstring | null
data[].ticketTypeNamestring | null
data[].orderStatusstring | null
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "ticketId": "abc123",
      "orderId": "abc123",
      "index": 25,
      "holderName": "example",
      "holderEmail": "example",
      "checkedIn": false,
      "checkedInAt": "example",
      "eventId": "abc123",
      "ticketTypeName": "example",
      "orderStatus": "example"
    }
  ],
  "nextPageToken": "example"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/eventorders/tickets' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"evt123"}'
Turtini CLI
turtini api POST /v1/eventorders/tickets --data '{"eventId":"evt123"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.eventOrders.tickets({
  eventId: "evt123",
})

Eventorders/attendees

POST/v1/eventorders/attendees

List attendees of an event

Read-only, grouped by email within each page; refunded and voided orders are left out. Required scope: `eventOrders:read`.

Scope: eventOrders:read (or *:read)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdrequiredstring
limitintegerPage size.
pageTokenstringThe nextPageToken from the previous page.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].namestring | null
data[].emailstring | null
data[].ticketsrequiredinteger
data[].checkedInrequiredinteger
data[].orderIdsrequiredstring[]
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "name": "Example name",
      "email": "[email protected]",
      "tickets": 25,
      "checkedIn": 25,
      "orderIds": [
        "example"
      ]
    }
  ],
  "nextPageToken": "example"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/eventorders/attendees' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"evt123"}'
Turtini CLI
turtini api POST /v1/eventorders/attendees --data '{"eventId":"evt123"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.eventOrders.attendees({
  eventId: "evt123",
})

Eventorders/checkins

POST/v1/eventorders/checkins

List check-ins for an event

Read-only. Required scope: `eventOrders:read`.

Scope: eventOrders:read (or *:read)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
eventIdrequiredstring
limitintegerPage size.
pageTokenstringThe nextPageToken from the previous page.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].ticketIdrequiredstring
data[].orderIdrequiredstring
data[].holderNamestring | null
data[].checkedInAtstring | null
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "ticketId": "abc123",
      "orderId": "abc123",
      "holderName": "example",
      "checkedInAt": "example"
    }
  ],
  "nextPageToken": "example"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/eventorders/checkins' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"eventId":"evt123"}'
Turtini CLI
turtini api POST /v1/eventorders/checkins --data '{"eventId":"evt123"}'
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.eventOrders.checkins({
  eventId: "evt123",
})

Grants

GET/v1/grants

List grant programs your organization offers

Every grant program authored by this org — all statuses (draft/open/closed/awarded/archived) and visibilities. Required scope: `grants:read`.

Scope: grants:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].titlerequiredstring
data[].slugstring
data[].summarystring
data[].descriptionstring
data[].categoryrequired"mutual-aid" | "scholarship" | "event-sponsorship" | "programmatic" | "emergency" | "capacity-building" | "community" | "other"
data[].funderNamestring
data[].funderUrlstring
data[].minAwardnumber
data[].maxAwardnumber
data[].totalPoolnumber
data[].currencystring
data[].openAtstring (date-time)
data[].deadlineAtstring (date-time)
data[].decisionByAtstring (date-time)
data[].cycle"one-time" | "rolling" | "quarterly" | "annual"
data[].eligibilitystring
data[].reviewCriteriastring
data[].tagsstring[]
data[].visibilityrequired"internal" | "public"
data[].statusrequired"draft" | "open" | "closed" | "awarded" | "archived"
data[].applicationCountinteger
data[].awardedCountinteger
data[].awardedTotalnumber
data[].authorOrgIdrequiredstring
data[].authorOrgNamestring
data[].createdAtrequiredstring (date-time)
data[].updatedAtrequiredstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "title": "Example title",
      "slug": "spring-gala",
      "summary": "example",
      "description": "Example description.",
      "category": "mutual-aid",
      "funderName": "example",
      "funderUrl": "https://example.org",
      "minAward": 25,
      "maxAward": 25,
      "totalPool": 25,
      "currency": "USD",
      "openAt": "2026-12-05T18:00:00.000Z",
      "deadlineAt": "2026-12-05T18:00:00.000Z",
      "decisionByAt": "2026-12-05T18:00:00.000Z",
      "cycle": "one-time",
      "eligibility": "example",
      "reviewCriteria": "example",
      "tags": [
        "example"
      ],
      "visibility": "internal",
      "status": "draft",
      "applicationCount": 25,
      "awardedCount": 25,
      "awardedTotal": 25,
      "authorOrgId": "abc123",
      "authorOrgName": "example",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/grants' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/grants
@turtini/sdk
import { Turtini } from '@turtini/sdk/api'

const turtini = new Turtini({ apiKey: process.env.TURTINI_API_KEY! })
const result = await turtini.grants.list({
  limit: 50,
})

Restaurants

GET/v1/restaurants

List restaurants

Every restaurant operated by this org. Required scope: `restaurants:read`.

Scope: restaurants:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].namerequiredstring
data[].addressstring
data[].phonestring
data[].cuisineTypestring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "name": "Example name",
      "address": "example",
      "phone": "+1 757 555 0100",
      "cuisineType": "example",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/restaurants' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/restaurants

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Invoices

GET/v1/invoices

List invoices

Customer-facing invoices (CPQ-issued), newest-first. Required scope: `invoices:read`.

Scope: invoices:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].invoiceNumberstring
data[].quoteIdstring
data[].quoteNumberstring
data[].opportunityIdstring
data[].opportunityNamestring
data[].accountIdstring
data[].accountNamestring
data[].contactNamestring
data[].contactEmailstring
data[].statusstringunpaid | paid | void
data[].totalPricenumber
data[].invoiceDatestring (date)
data[].dueDatestring (date)
data[].paidAtstring (date-time)
data[].paymentLinkUrlstring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "invoiceNumber": "example",
      "quoteId": "abc123",
      "quoteNumber": "example",
      "opportunityId": "abc123",
      "opportunityName": "example",
      "accountId": "abc123",
      "accountName": "example",
      "contactName": "example",
      "contactEmail": "[email protected]",
      "status": "example",
      "totalPrice": 25,
      "invoiceDate": "2026-12-05",
      "dueDate": "2026-12-05",
      "paidAt": "2026-12-05T18:00:00.000Z",
      "paymentLinkUrl": "https://example.org",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/invoices' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/invoices

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Bills

GET/v1/bills

List bills

Vendor bills (AP). Includes forwarded-email expenses (source=email). Required scope: `bills:read`.

Scope: bills:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].billNumberstring
data[].vendorIdstring
data[].vendorNamestring
data[].statusstringdraft | approved | processing | paid | voided
data[].totalAmountnumber
data[].datestring (date)
data[].dueDatestring (date)
data[].referencestringVendor's own invoice number.
data[].descriptionstring
data[].sourcestringmanual | email
data[].needsReviewboolean
data[].linesobject[]
data[].lines[].accountIdstring
data[].lines[].accountCodestring
data[].lines[].accountNamestring
data[].lines[].descriptionstring
data[].lines[].amountnumber
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "billNumber": "example",
      "vendorId": "abc123",
      "vendorName": "example",
      "status": "example",
      "totalAmount": 25,
      "date": "2026-12-05",
      "dueDate": "2026-12-05",
      "reference": "example",
      "description": "Example description.",
      "source": "example",
      "needsReview": false,
      "lines": [
        {
          "accountId": "abc123",
          "accountCode": "example",
          "accountName": "example",
          "description": "Example description.",
          "amount": 25
        }
      ],
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/bills' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/bills

@turtini/sdk has no method for this operation yet; use curl or the CLI.

POST/v1/bills

Record a vendor bill

Record an AP bill with line items. Status defaults to `draft`. Each line's `accountId` must reference this org's chart of accounts. Required scope: `bills:write`.

Scope: bills:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
vendorIdrequiredstring
daterequiredstring (date)
dueDaterequiredstring (date)
referencestringVendor's own invoice number.
descriptionstring
status"draft" | "approved"
linesrequiredobject[]
lines[].accountIdrequiredstring
lines[].amountrequirednumber
lines[].descriptionstring

Response 201

FieldTypeNotes
idrequiredstring
billNumberstring
vendorIdstring
vendorNamestring
statusstringdraft | approved | processing | paid | voided
totalAmountnumber
datestring (date)
dueDatestring (date)
referencestringVendor's own invoice number.
descriptionstring
sourcestringmanual | email
needsReviewboolean
linesobject[]
lines[].accountIdstring
lines[].accountCodestring
lines[].accountNamestring
lines[].descriptionstring
lines[].amountnumber
orgIdrequiredstring
createdAtrequiredstring (date-time)
updatedAtstring (date-time)
Example response
{
  "id": "abc123",
  "billNumber": "example",
  "vendorId": "abc123",
  "vendorName": "example",
  "status": "example",
  "totalAmount": 25,
  "date": "2026-12-05",
  "dueDate": "2026-12-05",
  "reference": "example",
  "description": "Example description.",
  "source": "example",
  "needsReview": false,
  "lines": [
    {
      "accountId": "abc123",
      "accountCode": "example",
      "accountName": "example",
      "description": "Example description.",
      "amount": 25
    }
  ],
  "orgId": "abc123",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/bills' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vendorId":"abc123","date":"2026-12-05","dueDate":"2026-12-05","lines":[{"accountId":"abc123","amount":25}]}'
Turtini CLI
turtini api POST /v1/bills --data '{"vendorId":"abc123","date":"2026-12-05","dueDate":"2026-12-05","lines":[{"accountId":"abc123","amount":25}]}'

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Projects

GET/v1/projects

List projects

Projects with status, budget, and dates. Required scope: `projects:read`.

Scope: projects:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].namerequiredstring
data[].descriptionstring
data[].statusstringplanning | in-progress | on-hold | done | cancelled
data[].startDatestring (date)
data[].endDatestring (date)
data[].ownerIdstring
data[].ownerNamestring
data[].budgetnumber
data[].currencystring
data[].progressnumber0–1 ratio.
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "name": "Example name",
      "description": "Example description.",
      "status": "example",
      "startDate": "2026-12-05",
      "endDate": "2026-12-05",
      "ownerId": "abc123",
      "ownerName": "example",
      "budget": 25,
      "currency": "USD",
      "progress": 25,
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/projects' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/projects

@turtini/sdk has no method for this operation yet; use curl or the CLI.

POST/v1/projects

Create a project

Create a new project. Required scope: `projects:write`.

Scope: projects:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
namerequiredstring
descriptionstring
status"planning" | "in-progress" | "on-hold" | "done" | "cancelled"
startDatestring (date)
endDatestring (date)
budgetnumber
currencystring

Response 201

FieldTypeNotes
idrequiredstring
namerequiredstring
descriptionstring
statusstringplanning | in-progress | on-hold | done | cancelled
startDatestring (date)
endDatestring (date)
ownerIdstring
ownerNamestring
budgetnumber
currencystring
progressnumber0–1 ratio.
orgIdrequiredstring
createdAtrequiredstring (date-time)
updatedAtstring (date-time)
Example response
{
  "id": "abc123",
  "name": "Example name",
  "description": "Example description.",
  "status": "example",
  "startDate": "2026-12-05",
  "endDate": "2026-12-05",
  "ownerId": "abc123",
  "ownerName": "example",
  "budget": 25,
  "currency": "USD",
  "progress": 25,
  "orgId": "abc123",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/projects' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Example name"}'
Turtini CLI
turtini api POST /v1/projects --data '{"name":"Example name"}'

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Tasks

GET/v1/tasks

List tasks

Work items, optionally filtered by `projectId` on the response. Required scope: `tasks:read`.

Scope: tasks:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].projectIdstring
data[].titlerequiredstring
data[].descriptionstring
data[].statusstringtodo | in-progress | blocked | done
data[].prioritystringlow | normal | high | urgent
data[].assigneeIdstring
data[].assigneeNamestring
data[].dueDatestring (date)
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "projectId": "abc123",
      "title": "Example title",
      "description": "Example description.",
      "status": "example",
      "priority": "example",
      "assigneeId": "abc123",
      "assigneeName": "example",
      "dueDate": "2026-12-05",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/tasks' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/tasks

@turtini/sdk has no method for this operation yet; use curl or the CLI.

POST/v1/tasks

Create a task

Create a task, optionally linked to a project. Required scope: `tasks:write`.

Scope: tasks:write (or *:write)

Show parameters, schemas and examples

Parameters

Idempotency-KeyheaderstringOptional UUID-shaped value. Repeated requests with the same key replay the cached response for 24h.

Request body

FieldTypeNotes
titlerequiredstring
descriptionstring
projectIdstring
status"todo" | "in-progress" | "blocked" | "done"
priority"low" | "normal" | "high" | "urgent"
dueDatestring (date)

Response 201

FieldTypeNotes
idrequiredstring
projectIdstring
titlerequiredstring
descriptionstring
statusstringtodo | in-progress | blocked | done
prioritystringlow | normal | high | urgent
assigneeIdstring
assigneeNamestring
dueDatestring (date)
orgIdrequiredstring
createdAtrequiredstring (date-time)
updatedAtstring (date-time)
Example response
{
  "id": "abc123",
  "projectId": "abc123",
  "title": "Example title",
  "description": "Example description.",
  "status": "example",
  "priority": "example",
  "assigneeId": "abc123",
  "assigneeName": "example",
  "dueDate": "2026-12-05",
  "orgId": "abc123",
  "createdAt": "2026-12-05T18:00:00.000Z",
  "updatedAt": "2026-12-05T18:00:00.000Z"
}

Errors

  • 400 Validation error
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl -X POST 'https://api.turtini.com/v1/tasks' \
  -H "Authorization: Bearer $TURTINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Example title"}'
Turtini CLI
turtini api POST /v1/tasks --data '{"title":"Example title"}'

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Buildings

GET/v1/buildings

List buildings

Buildings managed by this org. Required scope: `buildings:read`.

Scope: buildings:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].namerequiredstring
data[].addressstring
data[].citystring
data[].statestring
data[].countrystring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "name": "Example name",
      "address": "example",
      "city": "example",
      "state": "example",
      "country": "example",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/buildings' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/buildings

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Units

GET/v1/units

List units

Units (apartments, suites, lots) inside this org's buildings. Required scope: `units:read`.

Scope: units:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].buildingIdstring
data[].numberstring
data[].namestring
data[].floorstring
data[].bedroomsinteger
data[].bathroomsnumber
data[].squareFeetinteger
data[].statusstring
data[].tenantNamestring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "buildingId": "abc123",
      "number": "example",
      "name": "Example name",
      "floor": "example",
      "bedrooms": 25,
      "bathrooms": 25,
      "squareFeet": 25,
      "status": "example",
      "tenantName": "example",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/units' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/units

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Devices

GET/v1/devices

List property IoT devices

Vendor-neutral IoT devices wired into Property Operations. Required scope: `devices:read`.

Scope: devices:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].buildingIdstring
data[].unitIdstring
data[].namerequiredstring
data[].kindstringthermostat | lock | sensor | camera | meter | etc.
data[].vendorstring
data[].modelstring
data[].locationstring
data[].statusstringonline | offline | unknown
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "buildingId": "abc123",
      "unitId": "abc123",
      "name": "Example name",
      "kind": "example",
      "vendor": "example",
      "model": "example",
      "location": "example",
      "status": "example",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/devices' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/devices

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Leases

GET/v1/leases

List leases

Active and historical rental leases. Required scope: `leases:read`.

Scope: leases:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].unitIdstring
data[].unitNumberstring
data[].tenantIdstring
data[].tenantNamestring
data[].statusstringdraft | active | ended | evicted
data[].startDatestring (date)
data[].endDatestring (date)
data[].rentnumber
data[].depositnumber
data[].currencystring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "unitId": "abc123",
      "unitNumber": "example",
      "tenantId": "abc123",
      "tenantName": "example",
      "status": "example",
      "startDate": "2026-12-05",
      "endDate": "2026-12-05",
      "rent": 25,
      "deposit": 25,
      "currency": "USD",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/leases' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/leases

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Tenants

GET/v1/tenants

List tenants

Tenants of rental units. Required scope: `tenants:read`.

Scope: tenants:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].firstNamestring
data[].lastNamestring
data[].emailstring
data[].phonestring
data[].unitIdstring
data[].statusstring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "firstName": "Ada",
      "lastName": "Lovelace",
      "email": "[email protected]",
      "phone": "+1 757 555 0100",
      "unitId": "abc123",
      "status": "example",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/tenants' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/tenants

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Subscriptions

GET/v1/subscriptions

List subscriptions

Member subscriptions tied to plans. Required scope: `subscriptions:read`.

Scope: subscriptions:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].planIdstring
data[].memberIdstring
data[].memberNamestring
data[].memberEmailstring
data[].statusstringactive | trialing | past_due | canceled
data[].startedAtstring (date-time)
data[].currentPeriodStartstring (date-time)
data[].currentPeriodEndstring (date-time)
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "planId": "abc123",
      "memberId": "abc123",
      "memberName": "example",
      "memberEmail": "example",
      "status": "example",
      "startedAt": "2026-12-05T18:00:00.000Z",
      "currentPeriodStart": "2026-12-05T18:00:00.000Z",
      "currentPeriodEnd": "2026-12-05T18:00:00.000Z",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/subscriptions' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/subscriptions

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Runbooks

GET/v1/runbooks

List runbooks

Step-by-step operational guides. Required scope: `runbooks:read`.

Scope: runbooks:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].titlerequiredstring
data[].summarystring
data[].categorystring
data[].tagsstring[]
data[].visibility"public" | "internal"
data[].authorOrgIdrequiredstring
data[].authorOrgNamestring
data[].templateModestring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "title": "Example title",
      "summary": "example",
      "category": "example",
      "tags": [
        "example"
      ],
      "visibility": "public",
      "authorOrgId": "abc123",
      "authorOrgName": "example",
      "templateMode": "example",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/runbooks' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/runbooks

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Websites

GET/v1/websites

List Builder sites

Sites authored in Builder. Required scope: `websites:read`.

Scope: websites:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].namestring
data[].slugstring
data[].statusstring
data[].publishedAtstring (date-time)
data[].customDomainstring
data[].templateIdstring
data[].inheritTemplateUpdatesboolean
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "name": "Example name",
      "slug": "spring-gala",
      "status": "example",
      "publishedAt": "2026-12-05T18:00:00.000Z",
      "customDomain": "example",
      "templateId": "abc123",
      "inheritTemplateUpdates": false,
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/websites' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/websites

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Contracts

GET/v1/contracts

List contracts

Contracts (master service agreements, NDAs, statements of work). Required scope: `contracts:read`.

Scope: contracts:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].titlerequiredstring
data[].counterpartystring
data[].typestring
data[].statusstringdraft | sent | signed | active | expired
data[].startDatestring (date)
data[].endDatestring (date)
data[].valuenumber
data[].currencystring
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "title": "Example title",
      "counterparty": "example",
      "type": "example",
      "status": "example",
      "startDate": "2026-12-05",
      "endDate": "2026-12-05",
      "value": 25,
      "currency": "USD",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/contracts' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/contracts

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Signatures

GET/v1/signatures

List signature requests

E-signature requests. Required scope: `signatures:read`.

Scope: signatures:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].titlestring
data[].statusstringsent | viewed | signed | declined | voided
data[].signerNamestring
data[].signerEmailstring
data[].documentUrlstring
data[].signedAtstring (date-time)
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "title": "Example title",
      "status": "example",
      "signerName": "example",
      "signerEmail": "example",
      "documentUrl": "https://example.org",
      "signedAt": "2026-12-05T18:00:00.000Z",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/signatures' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/signatures

@turtini/sdk has no method for this operation yet; use curl or the CLI.

Employees

GET/v1/employees

List employees

Workforce roster. Required scope: `employees:read`.

Scope: employees:read (or *:read)

Show parameters, schemas and examples

Parameters

limitqueryintegerMax records to return on this page (1–500).
pageTokenquerystringOpaque cursor returned by a prior call's `nextPageToken`. Omit for the first page.
createdAfterquerystring (date-time)Inclusive lower bound on `createdAt` as ISO 8601 (e.g. 2026-04-30T00:00:00Z). Use to scope a listing to a time window — "what changed since last week" — instead of paginating the whole collection.
createdBeforequerystring (date-time)Exclusive upper bound on `createdAt` as ISO 8601. Pair with `createdAfter` to bound both sides.

Response 200

FieldTypeNotes
datarequiredobject[]
data[].idrequiredstring
data[].firstNamestring
data[].lastNamestring
data[].emailstring
data[].phonestring
data[].rolestring
data[].departmentstring
data[].statusstringactive | onboarding | terminated
data[].startDatestring (date)
data[].orgIdrequiredstring
data[].createdAtrequiredstring (date-time)
data[].updatedAtstring (date-time)
nextPageTokenrequiredstring | null
Example response
{
  "data": [
    {
      "id": "abc123",
      "firstName": "Ada",
      "lastName": "Lovelace",
      "email": "[email protected]",
      "phone": "+1 757 555 0100",
      "role": "example",
      "department": "example",
      "status": "example",
      "startDate": "2026-12-05",
      "orgId": "abc123",
      "createdAt": "2026-12-05T18:00:00.000Z",
      "updatedAt": "2026-12-05T18:00:00.000Z"
    }
  ],
  "nextPageToken": null
}

Errors

  • 400 Malformed pageToken, createdAfter or createdBefore
  • 401 Missing or invalid API key, or it lacks this scope
curl
curl 'https://api.turtini.com/v1/employees' \
  -H "Authorization: Bearer $TURTINI_API_KEY"
Turtini CLI
turtini api GET /v1/employees

@turtini/sdk has no method for this operation yet; use curl or the CLI.