curl --request POST \
--url https://api.studio.prisme.ai/v2/apps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({workspaceId: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/apps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/apps"
payload = { "workspaceId": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"workspaceId": "<string>",
"slug": "<string>",
"versions": [
"<string>"
],
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"documentation": {
"workspaceSlug": "<string>",
"slug": "<string>"
},
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"photo": "<string>",
"labels": [
"<string>"
],
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}Publish App
Publish a workspace as a new app version
curl --request POST \
--url https://api.studio.prisme.ai/v2/apps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({workspaceId: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/apps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/apps"
payload = { "workspaceId": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"workspaceId": "<string>",
"slug": "<string>",
"versions": [
"<string>"
],
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"documentation": {
"workspaceSlug": "<string>",
"slug": "<string>"
},
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"photo": "<string>",
"labels": [
"<string>"
],
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Super admin only : bypass the AppSlugConflict error and take over an app slug already published by another workspace.
Body
An optional workspace version. If empty, will publish latest workspace version
App slug : Required on first publish
An optional version name
Response
Success Response
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
string, number, integer, object, array, boolean, localized:string, localized:number, localized:boolean Recursive reference to TypedArgument; nesting is truncated here to avoid the infinite expansion that crashes the API reference renderer.
Path-redact this field from runtime execution events (runtime.automations.executed), whatever its size. Redact itself never tracks the value: each automation the value transits through must re-declare redact on its own schema. It does not disable a secret declaration on the same or a nested field — secret takes precedence, so a field marked both is value-tracked AND path-redacted. Only reachable through nested properties: a marker inside items, additionalProperties or oneOf-style keywords is ignored (redact the parent field itself).
{
"type": "string",
"title": { "en": "User ID" },
"description": { "en": "The unique identifier of the user" }
}
^[0-9A-Za-z._:-]{2,60}$Was this page helpful?