Skip to main content
POST
/
v1
/
users
/
batch-update
Batch update users
curl --request POST \
  --url https://api.oneofnone.io/v1/users/batch-update \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "users": [
    {
      "email": "jsmith@example.com",
      "phone": "<string>",
      "metadata": {}
    }
  ],
  "csv": "<string>"
}
'
{
  "message": "<string>",
  "count": 123,
  "users": [
    {
      "id": "<string>",
      "email": "<string>",
      "created_at": "<string>",
      "phone": "<string>",
      "metadata": {},
      "avatar": {
        "url": "<string>"
      },
      "app_id": 123,
      "team_id": "<string>",
      "last_login_at": "<string>",
      "login_count": 123,
      "updated_at": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json
users
object[]
required
csv
string

Response

200 - application/json

Successful response

message
string
required
count
number
required
users
object[]
required