Skip to main content
GET
Get an async operation
An endpoint that runs long work in the background answers 202 with an asyncOperationId instead of its result, for example Push People database to contacts with filters. Read the operation here until its status is done (read result), failed (read error) or interrupted (the server restarted: send the same request again to finish the work).
Pass waitSeconds=60: the call holds until the operation ends or the minute runs out, so you follow most operations in one or two calls instead of polling.
Any member of your team can read your team’s operations; another team’s id answers 404. Operations are kept 7 days.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

asyncOperationId
string
required

The asyncOperationId an endpoint answered with a 202

Pattern: ^aop_[a-zA-Z0-9]{17}$

Query Parameters

waitSeconds
integer

Hold the call up to this many seconds for the operation to end; omit to read it once

Required range: 0 <= x <= 60

Response

The operation

data
object
required