RelayPointdocs

Platform

Catalog and real-time changes

One catalog with a version, ETag caching, and change events by webhook or stream.

GET /v1/catalog returns everything you need to price and present RelayPoint: products with your price per unit size (custom prices and reseller mark-ups included), top-up packs and bonuses, plans, voices, limits, display FX rates, feature flags, the service status, version and your account_version. Any key can read it; mark-up profiles and white-label names need the sub_accounts scope, the spend cap billing, and data (the connections catalogue) connections.

curl https://api.relaypoints.online/v1/catalog -H "Authorization: Bearer $RELAYPOINT_API_KEY" -i
# Later: 304 Not Modified while nothing changed
curl https://api.relaypoints.online/v1/catalog -H "Authorization: Bearer $RELAYPOINT_API_KEY" -H 'If-None-Match: "c412.a7"' -i

# Cheap check
curl https://api.relaypoints.online/v1/catalog/version -H "Authorization: Bearer $RELAYPOINT_API_KEY"
  • Send the ETag back as If-None-Match: the answer is 304 Not Modified (no body) until something changes.
  • GET /v1/catalog/version is a cheap check with the same ETag.
  • Every change that affects you bumps version (platform-wide) or account_version (your own terms) in the same transaction as the change.

Stock voices and presenters

voices and presenters are the stock library. Each voice has id, name, gender, age_band (young_adult, adult, senior), language, accent, styles (warm, energetic, calm, authoritative), route (engine and failover), cost_tier, approximate (true when no native voice exists for that language or accent: the closest voice reads it with a direction), status (awaiting_rating or active), realism_score, preview_status and preview_url (a free 6–8 s clip, null until generated). Each presenter is an AI-generated, fictional person with label ("AI-generated presenter"), gender, age_band (20s … 70s), skin_tone, setting, attire, suggested_voice_id, status, preview_url, sample_clip_url and character_id (set once status is ready: use it as Video Avatar character_id). Voices rated below 4/5 and rejected presenters are left out.

  • Filter with query parameters: language (fr matches fr-SN), accent, gender, age, style (voices) and skin_tone, setting, attire (presenters). A filtered answer has its own ETag; an unknown value is a 400.
  • Previews are served at /v1/stock/media/… without a key and cost nothing.
  • Changes arrive as voices.updated (keys voices.<id>…) and catalog.updated (keys presenters.<id>).

Change events

Each change is sent within seconds to every webhook endpoint subscribed to the event (or to *), signed like every webhook (verification), with retries over about two days. The event says what changed; fetch the catalog for the new values.

EventWhen
catalog.updatedProducts shown or hidden, renamed; availability (a product can or can no longer be served); the connections catalogue; display FX rates; feature flags.
pricing.updatedA product's price, unit or unit size; the BYOK platform fees.
packs.updatedTop-up packs: price, credits, bonus percentage, availability.
plans.updatedConnection bundles and add-ons.
voices.updatedThe voices list, or which voices a product can speak.
limits.updatedPlatform limits: maximum avatar video length, default rate limits, verification threshold.
account.updatedYour own terms: custom prices, mark-ups, white-label names, spend cap, rate limit, status. Only your account receives it; a sub-account learns only that its prices, names or status changed.
service.statusMaintenance switched on or off, or a product family became degraded or recovered.
JSON
{
  "id": "cev_1042",
  "type": "pricing.updated",
  "event": "pricing.updated",
  "version": 412,
  "changed": ["products.rp/tts.price"],
  "occurred_at": "2026-11-08T12:20:03.512Z",
  "created": 1794140404
}

Live stream (SSE)

GET /v1/events/stream sends the same events as Server-Sent Events, authenticated with your API key. Each event has an id: reconnect with Last-Event-ID to receive what you missed. A heartbeat comment every 15 seconds; the stream closes after 5 minutes and EventSource (or the SDK) reconnects.

GET /v1/events/stream HTTP/1.1
Authorization: Bearer rp_live_…
Last-Event-ID: 1041

retry: 3000
: connected version=411 account_version=7

id: 1042
event: pricing.updated
data: {"id":"cev_1042","type":"pricing.updated","event":"pricing.updated","version":412,"changed":["products.rp/tts.price"],…}

: heartbeat 2026-11-08T12:20:18.000Z