Skip to main content
All CollectionsDevelopment & integration
How to get a list of key/values or add a key/value by API
How to get a list of key/values or add a key/value by API
Lucien Berkani avatar
Written by Lucien Berkani
Updated over a year ago

You can get the list of your key/values with the following call :

curl --request GET \
--url 'https://{your-instance-name}.quable.com/keyvalues?page=1&limit=100' \
--header 'accept: application/hal+json'

You can add a key/values with the following call :

curl --request POST \
--url https://{your-instance-name}.quable.com/keyvalues/{your-key} \
--header 'accept: application/hal+json' \
--header 'content-type: application/ld+json' \
--data '
{
"isProtected": false,
"isPublic": false,
"id": "test",
"value": "your-value"
}
'
Did this answer your question?