

Authorizations
Body
application/json
curl --request POST \
--url https://partner.peaka.studio/api/v1/ui/initSession \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"timeoutInSeconds": 300,
"projectId": "projectId",
"theme": "dark",
"themeOverride": true,
"featureFlags": {
"feature1": true,
"feature2": false
}
}'{
"sessionUrl": "https://partner.peaka.studio/api/v1/ui/session?code=2eccdbf31efa110943b470b9023e9a52587c166e4d1c21f23fabbcd7de5b74ab"
}Init session for the user
curl --request POST \
--url https://partner.peaka.studio/api/v1/ui/initSession \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"timeoutInSeconds": 300,
"projectId": "projectId",
"theme": "dark",
"themeOverride": true,
"featureFlags": {
"feature1": true,
"feature2": false
}
}'{
"sessionUrl": "https://partner.peaka.studio/api/v1/ui/session?code=2eccdbf31efa110943b470b9023e9a52587c166e4d1c21f23fabbcd7de5b74ab"
}
