Fetch the terms of service
curl --request GET \
--url https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms', 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.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms",
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.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms"
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.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms")
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_bodyThese terms apply when you authorize Invopop S.L. ("Invopop") to act on behalf of your company...{
"error": "missing enrollment"
}{
"error": "no approval for this silo entry"
}{
"error": "Germany app is not enrolled for this workspace"
}{
"error": "fetching silo entry"
}Germany
Fetch terms of service
Fetch the terms of service that the supplier accepts, in Markdown.
GET
/
apps
/
gov-de
/
v1
/
entry
/
{silo_entry_id}
/
terms
Fetch the terms of service
curl --request GET \
--url https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms', 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.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms",
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.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms"
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.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.invopop.com/apps/gov-de/v1/entry/{silo_entry_id}/terms")
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_bodyThese terms apply when you authorize Invopop S.L. ("Invopop") to act on behalf of your company...{
"error": "missing enrollment"
}{
"error": "no approval for this silo entry"
}{
"error": "Germany app is not enrolled for this workspace"
}{
"error": "fetching silo entry"
}Returns the terms of service in Markdown, to show them on your own onboarding page before the supplier accepts them.
Authorizations
Path Parameters
Response
The terms of service.
The response is of type string.
Example:
"These terms apply when you authorize Invopop S.L. (\"Invopop\") to act on behalf of your company..."
Was this page helpful?