Queue Pending Mobility Survey Export
Queue Pending Mobility Survey Export
Queue an async Excel export of employees pending a mobility survey response across a holding’s whole organization tree
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 hasstatus = 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_1234567890abcdefstring
required
UUID of the holding (or any) organization. The export always spans this organization plus its whole descendant tree.Example:
a8315ef3-dd50-43f8-b7ce-d839e68d51faResponse
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.
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 key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: Organization not foundRelated Endpoints
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