Call PUT method to Append new records (rows) to a dataset by passing an array of objects with key + value representing a record in your dataset.
If you need to replace all data in your dataset, use POST method instead.

The following are the examples of HTTP status codes including errors that API can generate

Response codesResponse contentDescription
200 OK{
"RowsAdded": 3
}
Everything worked correctly.
400 Bad RequestIncorrect value 'example_text_value' of field 'Num of Days'The passed values don’t match the respective field types in the custom dataset, or the date format is incorrect.
400 Bad RequestField 'Example_Field' not foundThe passed field is not present in the dataset.
400 Bad RequestBody cannot be emptyThe request body is empty.
400 Bad RequestLimit exceeded upload rows = 10000The request body contains more than 10000 rows.
403 ForbiddenAccess deniedAccess to the dataset is denied.
404 Not FoundObject not foundDataset not found.

🚧

Note

Make sure that the values you are passing match the field types defined in your dataset schema. The number of fields you are passing should also match the number of fields in your dataset schema.

If you only specify a partial set of fields from the custom dataset, the query will still be executed but omitted fields will not be populated with data.

Rate Limits

Records per request

Slemma supports up to 10000 records per request.

Language
Credentials
Click Try It! to start a request and see the response here!