thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Synchronous vs Asynchronous API

Whether an API call returns the final result immediately or accepts the request and completes it later, with status retrieved by polling or callback.

Definition

Long-running operations often return 202 Accepted with a task ID to poll. Asynchronous patterns also include message queues and webhooks. Catalyst Center intent APIs, for example, return a task ID for many operations.

Example

POST returns 202 with taskId; GET /dna/intent/api/v1/task/{taskId} reports progress.

Exam tip

HTTP 202 Accepted signals asynchronous processing.

Related terms