Skip to main content
POST
Create people in batch
Create up to 100 people in the workspace, each optionally added to one or more groups. Each record takes the same fields as create a person and is created on its own: a record that fails, for instance because it names a company ID that does not exist, does not prevent the others from being created. See batch requests for the 100-record limit and how to read the response. Every record creates a new person, even when two records are identical or match an existing person. A company given by name is linked to the existing company of that name, or created if there is none. Records naming the same new company are all linked to one created company. Names match exactly, so Acme and acme are two companies. Each created person comes back in full, as in the response of create a person. A record that was created but could not be fully set up, for instance because the person could not be added to one of its groups, succeeds with a warnings list explaining what was not applied.
folk automatically checks for duplicates when creating people. If the system detects a duplicate, the newly created person will be merged in the background, possibly overwriting some of the provided data.

Authorizations

Authorization
string
header
required

API key for authentication

Headers

Idempotency-Key
string

A unique key, such as a UUID, that makes retrying this request safe: a retry with the same key and body returns the original response without running the operation again. Keys are kept for 24 hours after the request completes.

Maximum string length: 255
Example:

"8e03978e-40d5-43e8-bc93-6894a57f9324"

Body

application/json
records
object[]
required
Maximum array length: 100

Response

The outcome of each record, with each created person.

data
object
required
Example:
deprecations
string[]
Example: