Skip to main content
GET
Queue Pending Mobility Survey Export

Queue Pending Mobility Survey Export

Queues an asynchronous export listing every employee who has not yet responded to a mobility survey, across the header organization plus every accepted, enabled descendant in its organization tree (recursively). Intended for a holding organization checking on outstanding responses across all of its subsidiaries at once — the group scope is always applied and cannot be narrowed to a single organization. “Pending” means the employee record has status = loading and enabled = true — the state a survey send/resend leaves an employee in until they respond. Employees without an email are excluded, since there is no way to follow up with them. This endpoint only enqueues the export — it creates a PENDING processing job, fires an event for a background worker to build the .xlsx and upload it, and returns immediately with processing_job_id. Poll the processing job (or wait for the in-app notification / email) to retrieve the download link once it completes. If there are no pending employees, the export still completes with a file containing just the header row.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
UUID of the holding (or any) organization. The export always spans this organization plus its whole descendant tree.Example: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Response

string
UUID of the created processing job. Poll GET /processing_jobs/{processing_job_id}/download-url until the job completes to retrieve a presigned download URL for the .xlsx file.
The completed workbook has a single sheet with columns: Column headers and the worksheet name are localized to the requesting user’s stored language (Spanish or English currently; Spanish is the fallback).

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: Organization not found

List Employees (V2)

List employees with group-view filtering, including by status

Bulk Delete by Filters

Bulk-delete employees matching the same group-view filters