After you define the parameter, you start sending events that carry the array. You can send them with the Upsert API, as described on this page, or with the Insider One mobile SDKs. For the SDK methods, see Send Array of Objects Event Parameter with Mobile SDKs.
When you send events with the Upsert API, Array of Objects data must be sent inside the custom object of the dedicated object_event_params field. This is the only accepted location:
POST /api/user/v1/upsert → users[].events[].object_event_params.custom
Send the parameter by its name without the c_ prefix, the same way you send custom event parameters in event_params.custom and Array of Objects attributes in object_attributes.custom. For example, a parameter registered as items is sent as object_event_params.custom.items.
Scalar parameters continue to be sent in event_params and can coexist with Array of Objects parameters in the same event. String values in event_params can be up to 50,000 characters. String values inside Array of Objects parameters have their own limit of 500 characters (see Ingestion Behavior).
Important: Array of Objects parameters sent at the top level of object_event_params (outside custom) are not stored. The request still returns a success response, and no error is shown. If your integration sends them at the top level, move them under custom.
Send an event with an Array of Objects parameter (Upsert API)
curl --request POST \
--url 'https://unification.useinsider.com/api/user/v1/upsert' \
--header 'X-PARTNER-NAME: PARTNER_NAME_GOES_HERE' \
--header 'X-REQUEST-TOKEN: TOKEN_GOES_HERE' \
--header 'Content-Type: application/json' \
--location \
--data-raw '{
"users": [
{
"identifiers": {
"email": "sample@useinsider.com",
"uuid": "1x2y3z"
},
"events": [
{
"event_name": "purchase_completed",
"timestamp": "2026-04-01T10:00:00Z",
"event_params": {
"transaction_id": "ORD-9001",
"total_price": 3698,
"currency": "TRY"
},
"object_event_params": {
"custom": {
"items": [
{
"product_id": "SKU-010",
"product_name": "Nike Air Max",
"category": "Shoes",
"unit_price": 2499,
"quantity": 1,
"is_discounted": true,
"tags": ["sale", "new"]
},
{
"product_id": "SKU-022",
"product_name": "Levi 501 Jeans",
"category": "Clothing",
"unit_price": 1199,
"quantity": 1,
"is_discounted": false,
"tags": ["new"]
}
]
}
}
}
]
}
]
}'Response example:
{
"data": {
"successful": {
"count": 1
},
"fail": {}
}
}Send an event with nested sub-object keys
If an object key is defined as Object, its sub-object keys are sent as a nested object inside each array item:
"object_event_params": {
"custom": {
"items": [
{
"product_id": "SKU-010",
"unit_price": 2499,
"charges": {
"shipping": 49,
"tax": 449
}
}
]
}
}Send a Single Object
If you send a single object instead of an array, the value is automatically wrapped into a one-element array. Both of the following are stored identically:
"object_event_params": { "custom": { "items": { "product_id": "SKU-010" } } }
"object_event_params": { "custom": { "items": [ { "product_id": "SKU-010" } ] } }How values are handled
Date values are normalized to UTC on ingestion. Send them in ISO 8601 format, for example "2026-04-01T14:30:00Z".
String values are stored as sent, including case. Comparisons in segmentation are case-sensitive.
Nested objects are flattened to parent.child keys, matching the schema defined in the panel.
Multiple Array of Objects parameters can be sent on the same event inside custom, for example, custom.items and custom.shipping_addresses together.
Reserved internal field names cannot be used as object keys and are rejected.
Parameter names inside custom are given without the c_ prefix. A name such as custom.c_items is rejected.
Ingestion Behavior
Ingestion separates two classes of problems: structural violations fail the record, and schema mismatches are silently dropped.
Structural violations: The record is rejected with an error
Input | Behavior |
Array contains more objects than the configured maximum | Rejected with an error naming the parameter |
An object contains more keys than the configured maximum | Rejected with an error naming the parameter and the object index |
Nesting deeper than 2 levels, or an array inside an array | Rejected |
A string value longer than 500 characters | Rejected |
A reserved internal field name used as an object key | Rejected |
Schema mismatches: Silently dropped; the event is still stored.
Input | Behavior | How to fix |
Object keys that are not defined in the parameter schema | Only the keys defined in the schema are stored. Undefined keys are ignored. | Add the missing key to the parameter before sending (Attributes and Events > Event Parameters > open the parameter > + Add Object Key). Keys that were already dropped aren't recovered. Arrays are insert-only, so to store missing values, resend the events after adding the key. |
A value whose type does not match the object key's data type | The key is dropped. The rest of the object is stored. | Send the value in the data type defined for that key. You can check it in the parameter's Object Keys tab (for example, send unit_price as 2499, not "2499"). Key data types can't be changed after creation, so if the defined type is wrong, add a new key with the correct type and send the data under that key. |
Array or object value sent inline inside event_params | The parameter is ignored. The event is still stored. event_params accepts scalar values only. | |
object_event_params with an empty array, for example {"items": []} | The parameter is ignored. The event is still stored. | Nothing to fix if the event has no items: the event is stored without the parameter. If you need to segment on events with no items, also send a scalar parameter in event_params, such as item_count: 0. |
A parameter that is not registered in the panel is not stored. Register the parameter first, then send the event.
Error message examples
Exceeding the maximum number of objects in one array
{
"data": {
"successful": {},
"fail": {
"count": 1,
"errors": {
"users.0.events.0.object_event_params.items": [
"exceeds max objects 50"
]
}
}
}
}The whole record is rejected, so nothing from it is stored. Split the objects across several events with no more than 50 objects each, or ask the Insider One team to raise the limit for this parameter. Then send the record again.
Exceeding the maximum number of keys inside one object
{
"data": {
"successful": {},
"fail": {
"count": 1,
"errors": {
"users.0.events.0.object_event_params.items": [
"object[0] exceeds max keys per object 20"
]
}
}
}
}The error names the object's position (object[0]). Remove keys you don't need from that object so it has 20 keys or fewer, or ask the Insider One team to raise the per-object key limit for this parameter. Then send the record again.
Update and Delete
Array of Objects event parameters are insert-only.
There is no add, merge, replace, or remove action for event parameters. Unlike Array of Objects attributes, the array cannot be patched after the event is written.
Sending an Array of Objects parameter key through the event update endpoint is rejected with an error, so partially corrupting an existing event is not possible.
To correct a value, send the event again with the correct payload following your regular event ingestion rules.