POST
/
data
curl --request POST \
  --url http://collector-eu.rimdian.com/data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "workspace_id": "acme_workspace",
  "items": [
    {
      "kind": "user",
      "user": {
        "external_id": "test_user_1",
        "is_authenticated": false,
        "created_at": "2024-01-01T00:00:00Z",
        "updated_at": "2024-01-01T00:00:00Z",
        "email": "test@website.com",
        "first_name": "John",
        "last_name": "Doe"
      }
    }
  ]
}'
"queued"
Don’t forget to generate your access token to use this endpoint.

The items array should contain the historical data you want to import. Each item will be queued and processed individually, and should respect the format of the data schemas.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Data import payload

The body is of type object.

Response

200
text/plain

Data import response

The response is of type string.

Example:

"queued"