List app installs
curl --request GET \
--url https://api.assembly.com/v1/installs \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.assembly.com/v1/installs"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.assembly.com/v1/installs', 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.assembly.com/v1/installs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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.assembly.com/v1/installs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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.assembly.com/v1/installs")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.assembly.com/v1/installs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"appBuilderId": "<string>",
"appId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"autoSizeEmbed": true,
"content": "<string>",
"disabled": true,
"displayName": "Billing Portal",
"embedCode": "<string>",
"embedCount": 123,
"embedLink": "<string>",
"embedlyData": {
"author_name": "<string>",
"author_url": "<string>",
"cache_age": 123,
"description": "<string>",
"height": 123,
"html": "<string>",
"provider_name": "<string>",
"provider_url": "<string>",
"thumbnail_height": 123,
"thumbnail_url": "<string>",
"thumbnail_width": 123,
"title": "<string>",
"type": "<string>",
"url": "<string>",
"version": "<string>",
"width": 123
},
"icon": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"isAuthenticated": true,
"isDraft": true,
"isInternalApp": true,
"isRoot": true,
"iuSidebarHidden": true,
"notificationConfig": {
"actionLabel": {
"pluralNoun": "<string>",
"singularNoun": "<string>",
"verb": "<string>"
},
"notifications": [
{
"default": {
"email": true,
"product": true
},
"id": "<string>",
"label": "<string>",
"surfaces": [
"<string>"
]
}
]
},
"object": "appInstall",
"path": "<string>",
"queryParams": [
{}
],
"sort": 123,
"status": "published",
"supportsExpiringTokens": true,
"type": "marketplace",
"visibilityConfig": [
{
"comparator": "includesAnyOf",
"customFieldId": "<string>",
"isCompanyCustomField": true,
"ruleType": "client",
"valueItems": [
{
"companyId": "<string>",
"userId": "<string>"
}
],
"values": [
"<string>"
]
}
]
}
]{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}App Installs
List app installs
Returns every app install visible to the caller in the workspace, including core modules, marketplace apps, custom apps, embeds, and links. The set is scoped by the caller’s permissions: clients only receive installs whose visibility rules include them.
GET
/
v1
/
installs
List app installs
curl --request GET \
--url https://api.assembly.com/v1/installs \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.assembly.com/v1/installs"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.assembly.com/v1/installs', 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.assembly.com/v1/installs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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.assembly.com/v1/installs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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.assembly.com/v1/installs")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.assembly.com/v1/installs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"appBuilderId": "<string>",
"appId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"autoSizeEmbed": true,
"content": "<string>",
"disabled": true,
"displayName": "Billing Portal",
"embedCode": "<string>",
"embedCount": 123,
"embedLink": "<string>",
"embedlyData": {
"author_name": "<string>",
"author_url": "<string>",
"cache_age": 123,
"description": "<string>",
"height": 123,
"html": "<string>",
"provider_name": "<string>",
"provider_url": "<string>",
"thumbnail_height": 123,
"thumbnail_url": "<string>",
"thumbnail_width": 123,
"title": "<string>",
"type": "<string>",
"url": "<string>",
"version": "<string>",
"width": 123
},
"icon": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"isAuthenticated": true,
"isDraft": true,
"isInternalApp": true,
"isRoot": true,
"iuSidebarHidden": true,
"notificationConfig": {
"actionLabel": {
"pluralNoun": "<string>",
"singularNoun": "<string>",
"verb": "<string>"
},
"notifications": [
{
"default": {
"email": true,
"product": true
},
"id": "<string>",
"label": "<string>",
"surfaces": [
"<string>"
]
}
]
},
"object": "appInstall",
"path": "<string>",
"queryParams": [
{}
],
"sort": 123,
"status": "published",
"supportsExpiringTokens": true,
"type": "marketplace",
"visibilityConfig": [
{
"comparator": "includesAnyOf",
"customFieldId": "<string>",
"isCompanyCustomField": true,
"ruleType": "client",
"valueItems": [
{
"companyId": "<string>",
"userId": "<string>"
}
],
"values": [
"<string>"
]
}
]
}
]{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}{
"code": "<string>",
"data": "<unknown>",
"message": "<string>"
}Query Parameters
Response
OK
Status is the publication state of the install's backing app. Only apps built with the App Builder can be "draft": they stay there until their first successful publish, and are not shown to clients until then. Every other install is "published".
Available options:
draft, published Example:
"published"