Skip to main content
Tasks

Get a task by ID

Requires the tasks:read scope.

GET
/tasks/{id}
x-api-keystringheaderrequired

Company API key in the format: rotor_{keyId}_{keySecret}

To obtain an API key:

  1. Log into your Rotor dashboard
  2. Go to Settings → Integrations → API Keys
  3. Create a new key and select the scopes you need
  4. Copy the key — it's only shown once!
idstringrequired

Task ID

rotor-api-versionenum<string>headerdefault:1.1.0required

Required OpenAPI version header.

Available options: 1.1.0
Example: 1.1.0

Response

application/json

Task retrieved successfully

dataobject
statusstring
Example: success