Skip to content

Reference

API reference

The Resplendent API lets your own systems read your Company’s data, start your Workflows and turn integrations on or off. This page covers authentication, those endpoints, and the errors each one returns. Partner endpoints for creating white-label Client Companies and their Users aren’t covered here.

API access is part of the Starship plan. To call the API you need an API credential, which has an ID and a Key. Create one in Settings → API & Access. The key is shown only once, so copy it straight away. See API credentials for who can create them.

Every request acts for the Company that owns the credential. It can’t reach another Company’s data.

Send the credential with HTTP Basic authentication. Use the credential ID as the username and the Key as the password:

Authorization: Basic base64(YOUR_CREDENTIAL_ID:YOUR_CREDENTIAL_KEY)

With curl, pass -u "YOUR_CREDENTIAL_ID:YOUR_CREDENTIAL_KEY".

A missing or wrong credential returns 401 with {"detail": "Not authenticated"}. A header that isn’t valid Basic authentication returns 401 with Invalid Authorization header format.

https://app.resplendentdata.com/api/v1

The examples on this page use this address, for the United States region.

These endpoints allow 45 requests per 30 seconds. Past that, you get 429 Too Many Requests and a message saying how many seconds to wait.

Endpoints Counted per
Export data Company
Starting and replaying Workflow runs Company and Workflow

Returns the rows of a Dataset or Modified Dataset as JSON, one page at a time.

GET /export-data/{data_stream_type}/{data_stream_id}
Parameter Type Description
data_stream_type string table for a Dataset or Joined Dataset, or modifier for a Modified Dataset.
data_stream_id string The ID of the Dataset or Modified Dataset.

Stashes and Query Datasets aren’t available through this endpoint.

Parameter Type Default Description
page integer 1 Page to return. Must be 1 or more.
page_size integer 1000 Rows per page. Must be 1 or more.

Open Settings → Datasets (or Modified Datasets) and open the Dataset. The address bar then contains dataStreamId= followed by its ID.

An array of row objects, with column names as keys. A page past the last row returns an empty array.

[
{
"id": 1,
"company_name": "Acme Corp",
"revenue": 50000,
"created_at": "2024-01-15 09:30:00"
},
{
"id": 2,
"company_name": "TechStart Inc",
"revenue": 125000,
"created_at": "2024-02-20 16:05:00"
}
]

Values are converted like this:

Column type JSON value Example
Integer Number 42
Decimal Number, rounded to 6 decimal places 123.45
Text String "Hello"
True/false Boolean true
Date String, YYYY-MM-DD "2024-01-15"
Date and time String, YYYY-MM-DD HH:MM:SS "2024-01-15 14:30:00"
Duration String, days then HH:MM:SS "2 days 04:30:00"
Empty, infinite or not a number null null

Dataset exports read the current rows on each request and take the page by position. If a sync adds or removes rows between two requests, later rows shift, so the export can repeat or skip rows. Modified Dataset and Joined Dataset exports reuse a cache for up to 15 minutes from when it was built, not from when you request the first page. The cache can expire between pages, with the same result. For a complete export, page through while the Dataset isn’t syncing. The endpoint reads at most the first 10 million source rows. Paging does not retrieve rows beyond that cap.

Page 2 of a Dataset, 500 rows per page:

Terminal window
curl "https://app.resplendentdata.com/api/v1/export-data/table/a1b2c3d4-5678-90ab-cdef-example12345?page=2&page_size=500" \
-u "YOUR_CREDENTIAL_ID:YOUR_CREDENTIAL_KEY"

Page through the available rows of a Dataset in Python, up to the 10 million row cap. Each page is written to a JSON Lines file before the next one is requested, so memory use stays at one page. The file replaces dataset.jsonl only when the export finishes, so a failed run keeps the previous export:

import json
import os
import time
import requests
auth = ("YOUR_CREDENTIAL_ID", "YOUR_CREDENTIAL_KEY")
url = "https://app.resplendentdata.com/api/v1/export-data/table/YOUR_DATASET_ID"
page = 1
with open("dataset.jsonl.part", "w", encoding="utf-8") as out:
while True:
for attempt in range(3):
response = requests.get(
url, params={"page": page, "page_size": 5000}, auth=auth, timeout=60
)
if response.status_code != 429 or attempt == 2:
break
time.sleep(30) # The rate-limit window is 30 seconds. Retry the same page.
response.raise_for_status()
batch = response.json()
if not batch:
break
for row in batch:
out.write(json.dumps(row) + "\n")
page += 1
os.replace("dataset.jsonl.part", "dataset.jsonl")
Status Message Meaning
400 page must be at least 1 page is below 1.
400 pageSize must be at least 1 page_size is below 1.
403 This reader does not support protected Datasets. Use a Query Widget or Query Dataset. The Dataset, or one it’s built from, has Row Access rules.
404 Table not found No Dataset with that ID in your Company.
404 Data modifier not found No Modified Dataset with that ID in your Company.
422 Validation details data_stream_type isn’t table or modifier.
429 Rate limit exceeded. Try again in N seconds. Wait the given number of seconds, then retry.

List a Company’s integrations and turn them off or on. A turned-off integration stops syncing and doesn’t count toward the plan’s integration limit. Its Datasets and dashboards stay.

These endpoints find the Company by its white-label identity, so they’re for partners that created the Company with an external customer ID. The credential must belong to that Company or to its parent reseller.

Body field Type Required Description
wl_customer_id string Yes The Company’s external customer ID.
wl_env_id string No The Company’s white-label environment. Leave it out for a Company that has none.
POST /get-integrations

Send the two fields above. The response lists every integration of the Company:

Field Type Description
source_uuid string The integration’s ID.
source_name string Its name in Resplendent.
engine_type string The integration type, such as connectwise.
is_disabled boolean Whether it’s turned off.
last_sync string or null When it last synced.
failed_attempts integer Its count of failed sync attempts.
Terminal window
curl -X POST "https://app.resplendentdata.com/api/v1/get-integrations" \
-u "YOUR_CREDENTIAL_ID:YOUR_CREDENTIAL_KEY" \
-H "Content-Type: application/json" \
-d '{"wl_customer_id": "12345", "wl_env_id": "us10"}'
[
{
"source_uuid": "abc-123",
"source_name": "ConnectWise Production",
"engine_type": "connectwise",
"is_disabled": false,
"last_sync": "2026-11-20T14:30:00",
"failed_attempts": 0
}
]
POST /set-integration-status

Send the two fields above and integrations, a list of changes:

Field Type Required Description
source_uuid string Yes The integration’s ID from the list above.
is_disabled boolean Yes true to turn it off, false to turn it on.
Terminal window
curl -X POST "https://app.resplendentdata.com/api/v1/set-integration-status" \
-u "YOUR_CREDENTIAL_ID:YOUR_CREDENTIAL_KEY" \
-H "Content-Type: application/json" \
-d '{
"wl_customer_id": "12345",
"wl_env_id": "us10",
"integrations": [
{"source_uuid": "abc-123", "is_disabled": true},
{"source_uuid": "def-456", "is_disabled": false}
]
}'

It returns 204 No Content. If any source_uuid isn’t one of the Company’s integrations, nothing changes and you get 404.

Status Message Meaning
403 Forbidden: Not authorized to access this customer. The credential doesn’t belong to the Company or its parent reseller.
404 Customer not found No Company has that wl_customer_id and wl_env_id.
404 Integration(s) not found: ... These integration IDs aren’t the Company’s. Nothing was changed.
422 Validation details A required field is missing or has the wrong type.

Start a Workflow from another system. The Workflow needs a trigger with type: api in its workflow.yaml. The trigger’s id and the Workflow’s slug, shown in its address (/workflows/{slug}), go into the URL.

A successful call means Resplendent has saved the run. It doesn’t wait for the run to finish. Use the run endpoints below to check on it.

POST /workflows/{definition_slug}/triggers/{trigger_id}/admissions
Header Required Description
Content-Type Yes application/json.
Idempotency-Key Yes A key you make up for this run: 8 to 128 characters of letters, digits, ., _, : or -, starting with a letter or digit.
Body field Type Description
schemaVersion integer Always 1.
input object The Workflow’s starting input. It must match the Workflow and be 64 KB or smaller.
Terminal window
curl -X POST "https://app.resplendentdata.com/api/v1/workflows/api-intake/triggers/inbound/admissions" \
-u "YOUR_CREDENTIAL_ID:YOUR_CREDENTIAL_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-10482" \
-d '{"schemaVersion": 1, "input": {"source": "external-api", "amount": 7}}'

It returns 202 Accepted with a receipt:

{
"schemaVersion": 1,
"status": "accepted",
"workflowSlug": "api-intake",
"triggerId": "inbound",
"versionUuid": "version-uuid",
"versionNumber": 3,
"runUuid": "run-uuid",
"receivedAt": "2026-08-25T14:00:00Z"
}

Sending the same key with the same input again returns the original receipt with "status": "duplicate" and doesn’t start a second run. The same key with different input returns 409. If a request times out, retry with the same key and input.

GET /workflows/{definition_slug}/admissions

Returns runs started through the API, newest first.

Query parameter Default Description
limit 25 Runs per page, 1 to 50.
cursor – The nextCursor from the previous page.

The response has items and nextCursor, which is null on the last page.

GET /workflows/{definition_slug}/admissions/{run_uuid}

Each run record has schemaVersion, workflowSlug, triggerId, versionUuid, versionNumber, runUuid, receivedAt, runStatus and, for a replay, replayOfRunUuid. runStatus is one of pending, waiting, succeeded, failed, rejected or unknown.

POST /workflows/{definition_slug}/admissions/{run_uuid}/replays

Starts a new run with the same input and Workflow version as a finished run. Send a new Idempotency-Key header and no body. It returns 202 with a receipt like the one above, plus replayOfRunUuid.

You can only replay a run that has finished. Once its input is no longer kept, the replay returns 410 and you need to start a new run.

Workflow endpoints return errors as {"detail": {"code": "...", "message": "..."}}.

Status Code Meaning
404 workflow_not_found, workflow_version_not_found, api_trigger_not_found The Workflow, its published version or the trigger doesn’t exist in your Company.
404 workflow_api_admission_not_found No API run with that ID for this Workflow in your Company.
409 workflow_disabled The Workflow is turned off.
409 company_disabled Your Company is paused.
409 idempotency_conflict The key was already used with different input.
409 api_run_not_terminal The run you tried to replay hasn’t finished.
410 replay_input_unavailable The original input is no longer kept. Start a new run.
413 input_too_large, workflow_admission_request_too_large input is over 64 KB, or the whole request is too large.
415 workflow_admission_content_type_unsupported The request isn’t application/json.
422 input_validation_failed input doesn’t match the Workflow’s starting input.
422 invalid_idempotency_key The key is too short, too long or has other characters.
422 workflow_admission_request_invalid The request is malformed, for example a missing header or field. validationErrors lists each problem.
422 invalid_history_cursor The cursor isn’t one this Workflow returned.
429 workflow_admission_throttled Too many requests for this Workflow. Wait and retry.
429 ai_credits_exhausted The Workflow uses AI and your Company has run out of AI Credits.
503 workflow_admission_timeout, workflow_admission_unavailable Try again with the same Idempotency-Key.