POST /hub/v1/dataevents/key:{key}/rowset

Use this API to upsert multiple data extension rows. An upsert operation updates rows when the specified key already exists and inserts new rows when the specified key doesn't exist.

The maximum payload size is 5 MB. As a best practice, update or insert a maximum of 50 columns and 50 records at a time.

keystringRequiredThe data extension external key, included in URL as key:{keyValue}. If you don’t provide an ID, you must provide an external key.
idstringRequiredThe data extension ID, included in the URL. If you don’t provide an external key, you must provide an ID.
keysobjectRequiredThe key-value pair of the primary key for each row.
valuesobjectThe column name and value for the row that you want to insert into the data extension.

Example Request


Example Response

If your request is invalid, the API returns a 400 response. This response includes additional details about the error.