Go-live checklist
What to check in your integration before it works on your live company.
On this page
Run the same calls against the test company until every line below is true. Moving to the live company changes the credentials and the company, and nothing else: see Sandbox and live.
Sign-in
- The client secret is on a server you control, not in a web page or an app.
- The token is requested again before it ends, and a
401makes the client ask for a new one once. - The test credentials and the live credentials are in different secrets.
Changes
- Every change has an
operationIdthat is created and stored before the request is sent, and a request that timed out is sent again with the same one. - A change to an existing record sends the
revisionthat was read asexpectedRevision, and a409withrevision_conflictreads the record again. - The result is read by
statusand by thecodeof an error, never by themessage. See Errors. - Records created from outside carry an
externalId, so that a second run finds them instead of creating them again. See Your own ids.
Reading
- Every list is read to the end: the walk stops when
nextCursorisnull. See Pagination. - Fields and statuses that the code does not know are ignored, and a stage it does not know is shown as it is. See Versioning.
Events
- The endpoint is on HTTPS, keeps the signing secret that the answer creating the subscription returned, and checks the signature of every delivery against it before it believes the body.
- The endpoint answers with a 2xx status within 10 seconds, before it does the work.
- An endpoint that is down is tried six times: at once, then after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours. After the sixth failure the event is parked, so a night or a deployment loses nothing.
- An event whose
idwas already handled is skipped, and so is an event whoseaggregateRevisionis older than the state you hold. See Delivery and retries. - A parked event is found with
listEventsand sent again withreplayEvent. See Replay.