curl --request GET \
--url https://api.goyappr.com/tools/workflow-catalog \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/tools/workflow-catalog"
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/tools/workflow-catalog', 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/tools/workflow-catalog",
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/tools/workflow-catalog"
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/tools/workflow-catalog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/tools/workflow-catalog")
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": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 2,
"name": "<string>",
"description": "<string>",
"kind": "http",
"input_schema": {},
"output_schema": {},
"allowed_phases": [
"before"
],
"allowed_channels": [
"phone"
],
"is_current": true,
"available": true,
"archived": true,
"connection": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"ready": true
}
}
],
"references": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 2,
"name": "<string>",
"description": "<string>",
"kind": "http",
"input_schema": {},
"output_schema": {},
"allowed_phases": [
"before"
],
"allowed_channels": [
"phone"
],
"is_current": true,
"available": true,
"archived": true,
"connection": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"ready": true
}
}
],
"unavailable_revision_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"next_cursor": "<string>"
}{
"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>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}Read workflow tool catalog
Discover company-authorized current and explicitly pinned revisions.
curl --request GET \
--url https://api.goyappr.com/tools/workflow-catalog \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/tools/workflow-catalog"
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/tools/workflow-catalog', 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/tools/workflow-catalog",
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/tools/workflow-catalog"
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/tools/workflow-catalog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/tools/workflow-catalog")
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": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 2,
"name": "<string>",
"description": "<string>",
"kind": "http",
"input_schema": {},
"output_schema": {},
"allowed_phases": [
"before"
],
"allowed_channels": [
"phone"
],
"is_current": true,
"available": true,
"archived": true,
"connection": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"ready": true
}
}
],
"references": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 2,
"name": "<string>",
"description": "<string>",
"kind": "http",
"input_schema": {},
"output_schema": {},
"allowed_phases": [
"before"
],
"allowed_channels": [
"phone"
],
"is_current": true,
"available": true,
"archived": true,
"connection": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"label": "<string>",
"ready": true
}
}
],
"unavailable_revision_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"next_cursor": "<string>"
}{
"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>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}tools:read. This is the safe binding picker projection of the same
Tools registry, not a second catalog or execution path.
curl 'https://api.goyappr.com/tools/workflow-catalog?limit=20' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'x-company-id: COMPANY_ID'
Finding one tool
Pages come in tool-id order, not newest first, so a tool made a minute ago can be on any page, andlimit stops at 50. To bind a tool you know, do not page:
GET /tools/{id} answers its
workflow.current.revision_id, input_schema and allowed phases and channels,
and ?revision_ids=<that id> returns the same revision here, in references.
GET /tools?name= finds a tool’s id by name.
The response contains data (current revisions), references (requested
historical/current revisions), unavailable_revision_ids and next_cursor.
Each revision supplies local id, tool_id, revision number, name, description,
kind (http, app, transfer), full input_schema/output_schema, allowed
phases/channels, is_current, available and an optional local connection
label/readiness. Raw execution configuration and provider identifiers are absent.
A revision with available: false also says archived: true when its tool
is archived (restore it with POST /tools/{id}/restore), false when the tool
is not and an app tool’s connected account is what needs reconnecting. An app
tool’s connection is on the row either way, so read archived, not
connection, to tell the two apart.
The three kinds, and where each one can run
kind says what the tool is, and allowed_channels / allowed_phases say
where a binding on it can run. Read both before you bind: a binding wired
outside them is reported when you Check the workflow, as the advisory
binding_channel_unsupported or binding_phase_unsupported. It is an
advisory and not a refusal — a workflow that already publishes keeps
publishing — so it is on you to act on it.
kind | Channels | Phases | What it is |
|---|---|---|---|
http | ["phone","web"] unless the contract narrows it | all three unless the contract narrows them | Your own endpoint. |
app | as the action’s contract allows | as the action’s contract allows | One action on a connected account. |
transfer | always ["phone"] | always ["during"] | Hand the live call to a person, or back to the caller’s own phone system. One named destination per tool, and the only way to transfer a call. |
POST /tools and
workflow: {"kind":"transfer","destination":"+972501234567"} — optionally with
announce_transfer and announce_message for what the agent says first — then
bind it from a during-call step. The destination is either a number or, for
calls that arrive through your SIP trunk, the
address of your own phone system, "sip:extension@pbx.example.com". A SIP
address is refused if it has no extension, carries a password or ?headers, or
is not a well-formed address. Your phone system has about nine seconds to have the
new call answered; if it refuses or does not answer in time, the call ends (the
agent cannot take the caller back), so test the address with a real call first. The
channel and phase above are fixed by the
platform whatever you send, because a browser call has no second leg to hand
over and nothing before or after a call is holding one.
Use current available revisions for new selections. Historical references are
for existing or explicitly pinned bindings. Tool-only sequence children remain
private to their sequence; intrinsic End is not in this list.
The response has a 1 MiB technical budget. On 413, reduce limit/reference count;
an individually oversized revision requires a smaller supported schema. On
400, check unknown/repeated query fields and cursor scope. 503 means the
catalog is unavailable, not empty. Preserve schema numbers losslessly.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).