Skip to main content
POST
Send a CSV of changes to existing employees

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

X-Org-Id
string
header
required

Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).

Headers

Request-Id
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Body

application/json

The file, and which field each heading holds

A CSV of changes to existing employees, one row per employee.

csv
string
required

The file's text. Its first row is the headings, and one column must be id (the Employee ID the export leads with). Only the cells that differ from the employee now are changed; an empty cell leaves the field as it is.

columns
object[] | null

Which field each heading holds, for headings that are not a field's path. Headings that are a field's path need no entry.

Response

File received; the preview is being prepared. Location is the import, Retry-After how soon to look; the organisation's open apps also hear employeeImportChanged over the websocket.

message
object
required

A readable message about the outcome and a stable token a client can branch on.

content
object

The data the request returns with its metadata; left out on a response that carries no data, such as most errors.

validationIssues
object[] | null

Each field the request was refused for and why; left out when the request was not refused for its fields.