Skip to content

API Reference

Integrate Resultid's operational intelligence into your existing workflows and systems.

Authentication

All API requests require a Bearer token in the Authorization header. Tokens are scoped to your organization and can be created in Settings.

POST/v1/auth/token

Generate an access token using your API key and secret.

bash
curl -X POST https://api.resultid.com/v1/auth/token \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "your_api_key",
    "api_secret": "your_api_secret"
  }'

Quick Start

Get up and running with three API calls: authenticate, create a source, and query your first insight.

SDKs & Libraries

Official client libraries for Python, Node.js, Go, and Java. Community libraries available for Ruby and PHP.

List Sources

Retrieve all connected data sources for your organization.

GET/v1/sources

Returns a paginated list of data sources.

ParameterTypeRequiredDescription
pageintegerNoPage number (default: 1)
per_pageintegerNoResults per page (default: 25, max: 100)
statusstringNoFilter by status: active, paused, error
bash
curl https://api.resultid.com/v1/sources \
  -H "Authorization: Bearer YOUR_TOKEN"

Create Source

Connect a new data source to your organization.

POST/v1/sources

Create and configure a new data source connection.

bash
curl -X POST https://api.resultid.com/v1/sources \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Customer Reviews - US",
    "type": "google_reviews",
    "config": {
      "location_ids": ["loc_123", "loc_456"]
    }
  }'

Source Status

Check the health and sync status of a specific data source.

GET/v1/sources/:source_id/status

Returns current sync status and last successful ingestion timestamp.

Webhooks

Receive real-time notifications when new data is ingested or intelligence is generated.

POST/v1/webhooks

Register a new webhook endpoint.

bash
curl -X POST https://api.resultid.com/v1/webhooks \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-app.com/webhooks/resultid",
    "events": ["insight.created", "action.triggered"]
  }'
DELETE/v1/webhooks/:webhook_id

Remove a registered webhook.

Query Intelligence

Query the intelligence layer for insights across your connected data sources.

POST/v1/intelligence/query

Execute an intelligence query with filters and parameters.

ParameterTypeRequiredDescription
sourcesstring[]YesArray of source IDs to query
time_rangestringNoTime range: 7d, 30d, 90d, 1y (default: 30d)
dimensionsstring[]NoGroup results by dimension
limitintegerNoMax results (default: 25, max: 500)
bash
curl -X POST https://api.resultid.com/v1/intelligence/query \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "sources": ["src_123"],
    "time_range": "30d",
    "dimensions": ["location", "category"],
    "limit": 50
  }'

Insight Objects

Retrieve individual insight objects with full detail and attribution.

GET/v1/insights/:insight_id

Fetch a specific insight by ID.

GET/v1/insights

List insights with optional filtering.

Filters & Parameters

Reference for all available query filters, sort options, and aggregation parameters.

List Actions

Retrieve prioritized actions generated from your intelligence data.

GET/v1/actions

Returns a paginated list of actions sorted by priority.

ParameterTypeRequiredDescription
statusstringNoFilter: open, in_progress, resolved, dismissed
prioritystringNoFilter: critical, high, medium, low

Action Status

Update the status of an action as your team works through the queue.

PUT/v1/actions/:action_id

Update action status or assignment.

bash
curl -X PUT https://api.resultid.com/v1/actions/act_789 \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "in_progress",
    "assigned_to": "user_456"
  }'

Priority Actions

Access the filtered set of highest-priority actions requiring immediate attention.

GET/v1/actions/priority

Returns top priority actions across all sources.

Rate Limits

API rate limits are enforced per organization.

TierRateBurstNotes
Standard100 req/min200 req/minDefault for all organizations
EnterpriseCustomCustomContact your account manager

Error Codes

Standard HTTP status codes with Resultid-specific error detail objects.

CodeNameDescription
400Bad RequestInvalid request parameters
401UnauthorizedMissing or invalid authentication token
403ForbiddenInsufficient permissions for this resource
404Not FoundResource does not exist
429Rate LimitedToo many requests -- retry after cooldown
500Internal ErrorServer error -- contact support if persistent

Best Practices

Recommendations for efficient API usage, caching strategies, and webhook reliability.

Next step

Questions? Talk to our team.

Your existing data. No new surveys. No integrations. No consultants.

30

days to first insight

0

new data collected

$107M+

surfaced at one OEM

No integration required · GDPR-compliant · If we can’t show you revenue you didn’t know was there, you’ll know in the first meeting.