Get App Data
curl --request GET \
--url https://api.launchmystore.io/api/v1/app-data \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.launchmystore.io/api/v1/app-data"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.launchmystore.io/api/v1/app-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.launchmystore.io/api/v1/app-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.launchmystore.io/api/v1/app-data"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.launchmystore.io/api/v1/app-data")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launchmystore.io/api/v1/app-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"key": "<string>",
"storeId": "<string>",
"value": "<any>",
"expiresAt": "<string>",
"updatedAt": "<string>"
}App Data
Get App Data
Read one record, or list records by key prefix
GET
/
api
/
v1
/
app-data
Get App Data
curl --request GET \
--url https://api.launchmystore.io/api/v1/app-data \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.launchmystore.io/api/v1/app-data"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.launchmystore.io/api/v1/app-data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.launchmystore.io/api/v1/app-data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.launchmystore.io/api/v1/app-data"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.launchmystore.io/api/v1/app-data")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launchmystore.io/api/v1/app-data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"key": "<string>",
"storeId": "<string>",
"value": "<any>",
"expiresAt": "<string>",
"updatedAt": "<string>"
}Reads one record by key, or lists your app’s records. Expired records are
never returned.
App data is authenticated with your app’s client credentials, not a
store’s access token — so your app can read what it stored (for example a
store’s access token) before it has a token to use:Records are private to your app.
Authorization: Basic base64(<client_id>:<client_secret>)
storeId is a partition you choose: pass
the store’s id to keep a record per store, or omit it for app-wide records.Request
# one record
curl "https://api.launchmystore.io/api/v1/app-data?storeId=ef10744c-5c4a-4f47-85fc-062ba44afb5f&key=settings" \
-H "Authorization: Basic $(printf '%s:%s' "$CLIENT_ID" "$CLIENT_SECRET" | base64)"
# every record of a store whose key starts with "webhook:"
curl "https://api.launchmystore.io/api/v1/app-data?storeId=ef10744c-5c4a-4f47-85fc-062ba44afb5f&prefix=webhook:&limit=100" \
-H "Authorization: Basic $(printf '%s:%s' "$CLIENT_ID" "$CLIENT_SECRET" | base64)"
Query Parameters
string
Read the record with exactly this key. Without
key, records are listed.string
The store partition. Omit to read app-wide records.
string
1 to read across every store partition (for example to iterate all
stores in a scheduled job). Overrides storeId.string
When listing: only records whose key starts with this text.
integer
default:"50"
When listing: records per page (maximum 250).
integer
default:"0"
When listing: records to skip.
Response
Withkey: the record under data.record (404 when there is none).
Without key: data.records (most recently written first), data.total,
data.limit and data.offset.
string
The record’s key
string
The store partition, or
null for an app-wide recordany
The stored JSON value
string
When the record expires (ISO 8601), or
nullstring
Last write (ISO 8601)
{
"status": 200,
"state": "success",
"message": null,
"data": {
"records": [
{
"key": "webhook:3f2a…",
"storeId": "ef10744c-5c4a-4f47-85fc-062ba44afb5f",
"value": true,
"expiresAt": "2026-09-28T10:00:00.000Z",
"updatedAt": "2026-09-27T10:00:00.000Z"
}
],
"total": 1,
"limit": 100,
"offset": 0
}
}
Errors
| Status | Description |
|---|---|
404 | No record with this key |
401 | Missing, malformed or wrong client credentials |