Upload CSV records

Upload and process a CSV file to create records in bulk. Either supply typeColumn to read the type from a column, or typeValue to assign the same constant type to every row (skipping the column lookup). typeValue takes precedence when both are provided.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects a multipart form.
fileanyOptional
nameColumnstringOptional
typeColumnstringOptional
typeValuestringOptional<=255 characters

Response

CSV upload result
createdinteger
errorDetailslist of strings
errorsinteger
messagestring
recordslist of objects
successboolean
warningslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error