POST
/
sync
curl --request POST \
  --url http://collector-eu.rimdian.com/sync \
  --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"
      }
    }
  ]
}'
{
  "has_error": false
}
This endpoint can only be used for testing purpose or very specific cases where you need to process the data synchronously. The queue will be skipped.
Don’t forget to generate your access token to use this endpoint.

Authorizations

Authorization
string
header
required

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

Body

application/json
This endpoint is used for special cases where you need to send & process data synchronously. The data is processed immediately and the response is returned in the same request.
workspace_id
string
required

Workspace ID

items
object[]
required

Array of 100 items max to import

Response

200
application/json
Sync data import response

The response is of type object.