User Creates/Updates

Blueshift supports multiple ways of sending user data. We recommend using Recurring S3 Uploads when possible.

You can use the identify event or bulk API call with identify events to create/update users. The event API endpoint uses the EVENT_API_KEY, which is a public key. You can get high throughputs with bulk events, but the processing happens asynchronously, so you would not get notified if there are any errors. All the errors are captured and shown in the click-stream tracking page as "Processing Errors". The maximum size of a payload is 1MB or 100 events per payload. Multiple bulk events may be sent as part of an array. We recommend you limit the number of bulk calls to 5 per second ( 500 events/sec)

 

2. User API

You can use the user API to create/update users. The user API endpoint uses USER_API_KEY which is a private key. The call happens synchronously and you get immediate feedback on any processing errors. You need to make parallel calls to get high throughput. The throughput is less when compared to bulk event API calls. Please implement error handling when using the user API. We recommend you to limit the user API calls to 50 requests/second.

You can use the Bulk User API to create/update users in bulk. The bulk call happens synchronously and you get immediate feedback on any processing errors. The throughput is better than user API, but you need to iterate through the response to check if any users ran into processing errors. Please implement error handling when using the bulk user API. The maximum size of the payload is 50 users per call. We recommend you limit the number of bulk calls to 5 per sec (250 users/second).

You can setup recurring Customer Attribute upload job through our dashboard. You can configure the job to run hourly/daily/weekly. You can get high throughput with the customer attribute upload job, we can process around 1M users/hr and our background job also takes care of retries. When the upload is done, you will get an email with the upload status. We recommend using this method when possible.

Was this article helpful?
0 out of 0 found this helpful