Skip to main content
PUT
/
v1
/
members
/
jobs
/
csv
cURL
curl --request PUT \
  --url https://api.onsi.com/v1/members/jobs/csv \
  --header 'x-api-key: <api-key>'
{
  "jobId": "maj_cltd2zp7100096tmbamb9c46o"
}

Documentation Index

Fetch the complete documentation index at: https://docs.onsi.com/llms.txt

Use this file to discover all available pages before exploring further.

Upload a CSV file containing your entire target member list. The file should contain the following columns:
  • email: The email address of the member.
  • first_name: The first name of the member.
  • last_name: The last name of the member.
  • phone: (allowed empty) The phone number of the member.
  • tier: The tier of the member.
  • worker_id (optional, allowed empty): The worker ID of the member.
The API doesn’t care about the casing of the columns, e.g. “Worker ID” is acceptable

Relevant Error Codes

When parsing the file uploaded we can return:

Authorizations

x-api-key
string
header
required

Headers

x-idempotency-key
string

Unique key to ensure idempotency of the request

Response

202 - application/json

202

jobId
string
required
Example:

"maj_cltd2zp7100096tmbamb9c46o"