Developer guide

Rules, requests and events shared by every R&D Copilot API: accounts, authentication, errors, retries, webhooks and limits.

On this page

Every R&D Copilot product has an HTTP API, and all of them follow the rules on these pages.

Start here

  • Accounts and access: our team opens your account and gives you the credentials, the base address and a test company.
  • Your first request: five requests that work on any product, from a token to the event of a change.
  • Test and live: the test company works like the live one, and the step to live changes credentials, not calls.

What every API shares

A product adds its own resources, statuses and events. These ten rules are the same everywhere, so you learn them once.

RuleIn one linePage
AuthenticationPeople sign in to applications with one account and two steps. Code asks for a bearer token with client credentials.Sign-in, API authentication
Address and versionEvery address is $RDC_BASE_URL/<product>/v1/…, over HTTPS, with JSON bodies.Requests and responses
The 202 answerA change answers 202 with operationId, status and aggregateRevision. Read the outcome again with GET /operations/{operationId}.Requests and responses
ErrorsAn error is {code, message, fields, requestId}. Act on code, which never changes its meaning.Errors
Repeating a requestYou choose an operationId for each change. Sent again, it returns the first outcome and changes nothing.Idempotency and retries
ListsA list answers a page and a nextCursor. Follow it until it is null.Pagination
EventsAn event is sent to your HTTPS endpoint after something changed, in one envelope for every product, up to six attempts.Events, Webhooks
SignaturesEvery delivery is signed with HMAC-SHA256, and your endpoint checks the signature on the raw body.Verify signatures
VersionsThe version is in the path. A version never breaks a caller, and a deprecation carries Deprecation and Sunset headers.Versioning and deprecation
LimitsOver the request rate the answer is 429 with Retry-After, and the request is safe to send again.Limits

Product docs

Each product has docs of its own, with its Quickstart, its API reference and its events. They say what is the product's own and link back here for the rest: Product docs.

Connectors

Products