Integrations
Get Settings & Tools
Returns the posting rules, maximum content length, settings schema, and available provider tools for a connected channel. Use this to discover which tools can be executed with the trigger endpoint.
GET
/
integration-settings
/
{id}
Get integration settings and tools
curl --request GET \
--url https://api.groniz.com/public/v1/integration-settings/{id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.groniz.com/public/v1/integration-settings/{id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.groniz.com/public/v1/integration-settings/{id}', 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.groniz.com/public/v1/integration-settings/{id}",
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: <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.groniz.com/public/v1/integration-settings/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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.groniz.com/public/v1/integration-settings/{id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.groniz.com/public/v1/integration-settings/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"output": {
"rules": "Instagram should have at least one attachment, if it's a story, it can have only one picture",
"maxLength": 2200,
"settings": {
"type": "object"
},
"tools": [
{
"methodName": "audioSearch",
"description": "Search audio (music or original sounds) to attach to a Reel via the \"audio\" setting, an empty query returns trending audio",
"dataSchema": [
{
"key": "q",
"type": "string",
"description": "Search query, leave empty for trending audio"
},
{
"key": "type",
"type": "string",
"description": "Either \"music\" or \"original_sound\", defaults to \"music\""
}
]
}
]
}
}Previous
Trigger a ToolExecutes a provider-specific tool on a connected channel, for example searching Instagram audio for Reels, listing Discord channels, or fetching Reddit flairs. Discover available tools with the integration settings endpoint.
Next
⌘I
Get integration settings and tools
curl --request GET \
--url https://api.groniz.com/public/v1/integration-settings/{id} \
--header 'Authorization: <api-key>'import requests
url = "https://api.groniz.com/public/v1/integration-settings/{id}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.groniz.com/public/v1/integration-settings/{id}', 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.groniz.com/public/v1/integration-settings/{id}",
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: <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.groniz.com/public/v1/integration-settings/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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.groniz.com/public/v1/integration-settings/{id}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.groniz.com/public/v1/integration-settings/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"output": {
"rules": "Instagram should have at least one attachment, if it's a story, it can have only one picture",
"maxLength": 2200,
"settings": {
"type": "object"
},
"tools": [
{
"methodName": "audioSearch",
"description": "Search audio (music or original sounds) to attach to a Reel via the \"audio\" setting, an empty query returns trending audio",
"dataSchema": [
{
"key": "q",
"type": "string",
"description": "Search query, leave empty for trending audio"
},
{
"key": "type",
"type": "string",
"description": "Either \"music\" or \"original_sound\", defaults to \"music\""
}
]
}
]
}
}