ReachScore Docs

API Reference

The ReachScore API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.

Base URL

https://api.reachscore.co/v1

Authentication

Authenticate your API requests by including your API key in the Authorization header:

curl https://api.reachscore.co/v1/tests \
  -H "Authorization: Bearer rk_live_your_api_key"

See Authentication for more details on API key types and scopes.

Errors

ReachScore uses conventional HTTP response codes to indicate the success or failure of an API request. See the Errors page for details.

2xx

Success

4xx

Client error

5xx

Server error

Pagination

List endpoints use cursor-based pagination. Use the starting_after parameter with the ID of the last item to get the next page.

# Get first page
curl "https://api.reachscore.co/v1/tests?limit=20"

# Get next page
curl "https://api.reachscore.co/v1/tests?limit=20&starting_after=test_abc123"

Rate Limits

Rate limits vary by plan. Every response includes rate limit headers:

HeaderDescription
RateLimit-LimitMax requests in current window
RateLimit-RemainingRemaining requests
RateLimit-ResetUnix timestamp when window resets

See Rate Limits for plan-specific limits.