Skip to content

What if two integrated video APIs return the same job ID?

Treat the job identifier as belonging to the documented service and account scope. A dashboard that also polls a second API should not assume an ID string is globally unique. Compose a local key that includes provider and account boundary.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Save the routing fields

Store your application ID, provider slug, account or workspace scope and provider-returned job ID. Treat API keys separately from this bookkeeping.

Test a collision locally

Feed two mock outputs with identical task IDs and different provider names. Validate that each status request goes to the correct route and each output remains linked to its own project.

Example

Two providers both return “job-27.” One is queued and one is complete. A properly scoped dashboard preserves both entries and displays the right action next to each.

Pass condition

Duplicate vendor IDs do not route another person's review to the wrong provider or output.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation