GET
/
api
/
v2
/
public
/
datastore
/
config
/
:slug
/
:datastore
/
records
curl --request GET \
  --url https://api.gocobalt.io/api/v2/public/datastore/config/:slug/:datastore/records \
  --header 'linked_account_id: <linked_account_id>' \
  --header 'x-api-key: <api-key>'
[
    {
        "record_id": "ed7cc6d0-e30f-4626-91a8-ede29ebc83c5",
        "item": "Item1",
        "price": "Price"
    },
    {
        "record_id": "cb4ee6h0-e30f-4626-91a8-fga15egj78c4d",
        "item": "Item2",
        "price": "Quantity"
    }
]

This API fetches all records from a specified config datastore.

Request description

Headers

linked_account_id
string
required

Unique customer identification id. For Eg: markwood@some_email.com

Path Parameters

slug
string
required

Application Slug. Eg: hubspot

datastore
string
required

Name of the datastore to be searched.

Response description

record_id
string

Unique ID of the record.

item
string

Name of the key or item.

value
string

String stored as the value of the item.

[
    {
        "record_id": "ed7cc6d0-e30f-4626-91a8-ede29ebc83c5",
        "item": "Item1",
        "price": "Price"
    },
    {
        "record_id": "cb4ee6h0-e30f-4626-91a8-fga15egj78c4d",
        "item": "Item2",
        "price": "Quantity"
    }
]