Data stores / Data
The following endpoints allow you to create and manage records in data stores.
Retrieves a collection of all records from a data store with a given ID. Each returned record consists of the key (custom or automatically generated) and data.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the data store. Get the dataStoreId from the List data stores endpoint.
137The maximum number of entities you want to get in the response.
The number of entities you want to skip before getting entities you want.
Successful response
GET /api/v2/data-stores/{dataStoreId}/data HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"records": [
{
"key": "8f7162828bc0",
"data": {
"price": 600
}
}
],
"spec": [
{
"name": "price",
"label": "Price",
"type": "number",
"default": null,
"required": true
}
],
"strict": false,
"count": 2,
"pg": {
"limit": 10,
"offset": 0
}
}Creates a new record in a data store with a given ID and returns all record details.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the data store. Get the dataStoreId from the List data stores endpoint.
137The unique key of the data store record. If no key is provided, it will be automatically generated.
The data of the data store record. The structure strictly depends on the included data structure. If no data is provided, in response the values will be set to null.
Successful response
POST /api/v2/data-stores/{dataStoreId}/data HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"key": "8f7162828bc0",
"data": {
"price": 600
}
}Successful response
{
"key": "8f7162828bc0",
"data": {
"price": 600
}
}Deletes records from the specified data store.
Specify the keys of the records you want to delete in the keys array in the request body.
Use the all parameter in the request body to delete all records from the data store. You have to add the confirmed parameter in the API call query to confirm deleting the data, otherwise you get an error.
When you are deleting all records, you can use the exceptKeys parameter to specify keys of the records which you want to keep.
The response contains keys of the deleted records.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the data store. Get the dataStoreId from the List data stores endpoint.
137Set to true to confirm deleting of the data store records. Otherwise, you get an error and Make won't delete the data store records.
{"value":true}The keys of data store records you want to delete. Use the all and confirmed parameters if you want to delete all records in the data store.
Set to true to delete all records in the data store. Use the confirmed parameter to confirm the deletion. You can also use the exceptKeys parameter to specify keys of the records that you want to keep in the data store.
Specify the keys of the data store records you want to keep when deleting all records from the data store.
Successful response
DELETE /api/v2/data-stores/{dataStoreId}/data HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"keys": [
"1abd2defk",
"568tyuj45"
]
}Successful response
{
"keys": [
"1abd2defk",
"568tyuj45"
]
}Updates a data store record with a given key by passing new data in the request body. It replaces the entire resource with the new values. In the response, this endpoint returns all details of the updated data.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the data store. Get the dataStoreId from the List data stores endpoint.
137The key of the data store record. It can be retrieved from the List data store records endpoint.
ecc4819b2260The data is different for each data store so there are no predefined body properties to use. Please see the request example for more details.
Successful response
PUT /api/v2/data-stores/{dataStoreId}/data/{dataStoreKeyRecord} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"price": 600
}Successful response
{
"key": "8f7162828bc0",
"data": {
"price": 600
}
}Updates a data store record with a given key by passing new data in the request body. Any property that is not provided will be left unchanged. In the response, it returns all details of the updated data including properties that were not changed.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the data store. Get the dataStoreId from the List data stores endpoint.
137The key of the data store record. It can be retrieved from the List data store records endpoint.
ecc4819b2260The data is different for each data store so there are no predefined body properties to use. Please see the request example for more details.
Successful response
PATCH /api/v2/data-stores/{dataStoreId}/data/{dataStoreKeyRecord} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"price": 600
}Successful response
{
"key": "8f7162828bc0",
"data": {
"price": 600
}
}Last updated

