curl --request GET \
--url https://api.goyappr.com/tool-apps/connection-options \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/tool-apps/connection-options"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.goyappr.com/tool-apps/connection-options', 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.goyappr.com/tool-apps/connection-options",
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.goyappr.com/tool-apps/connection-options"
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.goyappr.com/tool-apps/connection-options")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/tool-apps/connection-options")
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_body{
"data": [
{
"slug": "<string>",
"name": "<string>",
"connect": {
"kind": "oauth",
"fields": [
{
"name": "<string>",
"label": "<string>",
"help": "<string>",
"required": true
}
]
}
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}List account connection options
Requires tools:read. Every app Composio hosts the sign-in for (connect.kind oauth) and every app that takes a credential the customer supplies (connect.kind credentials), with no setup by Yappr. Apps that need an OAuth app registered by Yappr are not listed, and neither are apps with no dated version yet (Yappr cannot use their actions) or with no actions at all. An app Yappr already has set up but the catalogue no longer carries (for example one with no dated version yet) is still listed without connect.kind, because the list does not say how it connects, so ask for it with ?toolkit=. With ?toolkit= it returns that one app, and for a credentials app the fields it takes, as Composio names them (label and help text are Composio’s); an app with no dated version is still described there, and only POST /tool-connections refuses it. This readiness selection is distinct from GET /tool-apps discovery and cannot authenticate or execute an app.
curl --request GET \
--url https://api.goyappr.com/tool-apps/connection-options \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/tool-apps/connection-options"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.goyappr.com/tool-apps/connection-options', 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.goyappr.com/tool-apps/connection-options",
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.goyappr.com/tool-apps/connection-options"
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.goyappr.com/tool-apps/connection-options")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/tool-apps/connection-options")
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_body{
"data": [
{
"slug": "<string>",
"name": "<string>",
"connect": {
"kind": "oauth",
"fields": [
{
"name": "<string>",
"label": "<string>",
"help": "<string>",
"required": true
}
]
}
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}tools:read. Returns { "data": [{ "slug": "gmail", "name": "Gmail", "connect": { "kind": "oauth" } }] }: every app whose sign-in Composio hosts (oauth) and every app that takes a credential you supply, such as an API key or token (credentials). Connecting one needs no setup from us; its authentication configuration is created the first time it is connected. An app switched off for this deployment is never reopened.
An app Yappr already has set up that the catalogue no longer carries (for example one with no dated version yet) is still listed, without connect.kind: the list does not say how it connects, so ask for it with ?toolkit={slug} rather than assume a sign-in.
Add ?toolkit={slug} for one app. For a credentials app it also returns connect.fields: the exact fields to send, each with name, label, help and required, as Composio names them. Enter them as password-type inputs.
curl https://api.goyappr.com/tool-apps/connection-options \
-H "Authorization: Bearer YOUR_API_KEY"
slug from this list verbatim to POST /tool-connections. An app that is not listed is one of three: OAuth-only with no Composio-hosted sign-in (it needs a registered OAuth app and answers 409 CONNECTION_APP_NEEDS_CREDENTIALS with that hint); an app with no dated version yet, so none of its actions can be used (it answers 409 CONNECTION_APP_NO_DATED_VERSION); or an app with no actions at all, which connects but has nothing to use. ?toolkit= still describes an app with no dated version and its fields: only POST /tool-connections refuses it. The list refreshes once a day.
This connection-readiness list is distinct from the curated app discovery catalog at GET /tool-apps.Authorizations
Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).