curl --request GET \
--url https://api.goyappr.com/dispositions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/dispositions"
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/dispositions', 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/dispositions",
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/dispositions"
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/dispositions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/dispositions")
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",
"label": "<string>",
"color": "#22c55e",
"position": 123,
"is_protected": true,
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}List Dispositions
Returns all call dispositions for your company, ordered by position.
curl --request GET \
--url https://api.goyappr.com/dispositions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.goyappr.com/dispositions"
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/dispositions', 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/dispositions",
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/dispositions"
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/dispositions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/dispositions")
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",
"label": "<string>",
"color": "#22c55e",
"position": 123,
"is_protected": true,
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"code": "<string>",
"issues": [
{
"code": "<string>",
"message": "<string>",
"path": "<string>"
}
]
}dispositions:read.
How a call gets one
After a call ends, the post-call model reads the transcript and picks exactly one label from this list, copied verbatim. The label is the whole of the matching rule — there is no per-disposition description, prompt or criteria field, so the words you choose are the only thing the model has to go on. “Booked a viewing” is picked when a viewing was booked; “Outcome A” is picked by guesswork. A label withis_protected: true is one the workspace was seeded with; it
refuses Delete. How many there are
depends on when the workspace was created — older ones carry six, newer ones
all ten defaults — so branch on the flag rather than hard-coding a list.
Protection says nothing about how a label is chosen: every label here,
protected or not, is offered to the model. These six are the ones the platform
itself knows by name:
| Label | Also set when |
|---|---|
No Answer | The platform ends the call unanswered — before the transcript is analysed at all. |
Failed | The platform ends the call without connecting. |
Voicemail | The call had no real back-and-forth: an empty transcript, or under three seconds. The model is told to choose it in the same situations. |
Unclassified | The post-call analysis itself failed, so no label could be chosen. |
Transferred to a Person | Nothing sets it; the prompt names it verbatim when the call was handed to a human, and the transfer is established from the database, never from the transcript. |
Do Not Call | Nothing sets it. It is protected so a workspace cannot delete a label other surfaces expect to exist. |
Voicemail and
short calls stop being classified at all.
curl "$YAPPR_API_URL/dispositions" \
--header "Authorization: Bearer $YAPPR_API_KEY"
Response
{
"data": [
{
"id": "1d9cffcf-b221-454f-89a2-152e8e305d4c",
"label": "Interested",
"color": "#6b7280",
"position": 1,
"is_protected": false,
"created_at": "2026-04-02T23:19:18.682399+00:00"
},
{
"id": "9ea7a27b-6f9c-4724-9c52-1e4685328539",
"label": "No Answer",
"color": "#eab308",
"position": 98,
"is_protected": true,
"created_at": "2026-04-03T19:10:45.791032+00:00"
}
]
}
position, ascending. The list is not paginated and takes no query
parameters — a workspace has tens of dispositions, not thousands.
| Field | Meaning |
|---|---|
id | What everything else refers to. Filter calls with disposition_id=<id>, and stop a campaign on an outcome with stop_disposition_ids. |
label | The text the model matches on, and what the dashboard shows. |
color | A hex string used to tint the badge, such as #22c55e. Never null: a disposition created without one is stored grey (#6b7280). The format is not validated, so a value that is not a colour renders as nothing. |
position | Display order. Not unique: two dispositions may share a position, and the tie breaks arbitrarily. |
is_protected | true for a label seeded with the workspace, including the six above. Protected dispositions refuse Delete. |
disposition_id on a call points at one of these ids; a call whose analysis
has not run yet, or which was classified before a disposition was deleted,
carries null.
Errors
| HTTP | Body | When |
|---|---|---|
400 | {"error":"Remove foo. Listing dispositions takes no query parameters.","code":"DISPOSITIONS_QUERY_INVALID"} | A query parameter this route does not read. It reads none; anything sent is refused by name rather than ignored. |
403 | {"error":"This key does not hold …","code":"INSUFFICIENT_SCOPE"} | The key does not hold dispositions:read. |
429 | {"error":"Rate limit exceeded. Try again in a moment.","code":"RATE_LIMIT"} | 60 requests per minute per key. |
500 | {"error":"Failed to list dispositions","code":"INTERNAL_ERROR"} | The read itself failed. Retry. |
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).