Skip to content
Five Decisions to Make Before Building an API Integration

When a customer changes their billing address, where should your team make the update? How soon should it appear in the other system? Who steps in if it never arrives?

Those questions shape what an integration needs to do and how you’ll know it’s working. At MCR One, we build API integrations and provide technical maintenance. These are five decisions we recommend making before development begins.

1. Decide which system owns each piece of data
Start with the records the integration will move. A CRM might own a customer’s contact details, while the billing platform owns their billing address and payment status. Assign ownership at the field level where different teams manage different parts of the same record.
For each record type, agree which way updates flow and how the integration will recognise the same record in both systems. If both applications allow someone to edit the same field, decide how to resolve competing updates. You might keep the value from the system responsible for that field or flag the discrepancy for review.
Write down the rules for record creation and deletion, too. If a customer is archived in the CRM, should the billing platform take any action? The answer belongs in the integration design.

2. Plan for failures and retries
A slow response, a rate limit or a temporary service error can interrupt a sync. Decide which failures qualify for an automatic retry, how long to wait between attempts and when to stop. Waiting progressively longer between retries, with a small amount of randomness, helps prevent many requests from hitting a recovering service at once. AWS Well-Architected Framework

Check what happens if a request times out after the receiving system has already processed it. Retrying a request to create an invoice could create a second invoice. Where the API supports an idempotency key, reuse the same key when retrying the original operation so the receiving system can recognise it. Amazon Builders’ Library

If failed updates are held in a queue, define how long they can wait and how an operator can inspect or reprocess them. Check the provider’s delivery guarantees before relying on event order. Stripe, for example, documents that webhook events can arrive out of order or more than once.

3. Set a deadline for the data
Ask when someone needs the update to be visible. Stock availability might need to update within minutes, while an internal finance report might only need to be ready by the start of the next working day. Those deadlines give you a way to choose between a scheduled sync and an event-driven design.

Check that the design can meet the deadline during peak periods and after an interruption. If you plan to use webhooks, check how the provider handles missed deliveries. GitHub, for example, documents how to redeliver missed events and suggests using a queue to process webhook payloads in the background.

4. Monitor whether the data arrived
A nightly job can finish successfully while skipping some records. Monitor the outcome the business depends on. For a scheduled sync, that could mean checking when data last arrived and how many records failed. For a queued integration, it could mean tracking how long the oldest update has been waiting.

Set alert thresholds around the impact of the delay. An alert should tell the recipient which integration is affected, identify the job or batch where possible, and give them a first step. Agree who receives it and when they’re expected to respond.

5. Name the owner after launch
Agree who monitors the integration, handles failures, renews credentials and approves changes. Decide who follows vendor announcements and tests compatibility before an upgrade. For example, Stripe documents that major API releases can introduce changes that require updates to existing integrations. Stripe API versioning documentation

Give the owner a short runbook covering the expected sync schedule, where to check failures and how to recover missed updates. If ongoing maintenance forms part of the project, record who provides it and what it covers.

Planning an integration? Tell us which systems you want to connect and what needs to happen between them. Discuss your project with MCR One

Published by MCR One.

View Original Article
Back to Blog