curl --request POST \
--url https://api.goyappr.com/report-issue \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"source": "<string>",
"steps_to_reproduce": "<string>",
"error_message": "<string>",
"call_ids": [
"<string>"
],
"reporter_email": "<string>",
"reporter_context": "<string>"
}
'import requests
url = "https://api.goyappr.com/report-issue"
payload = {
"title": "<string>",
"description": "<string>",
"source": "<string>",
"steps_to_reproduce": "<string>",
"error_message": "<string>",
"call_ids": ["<string>"],
"reporter_email": "<string>",
"reporter_context": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
source: '<string>',
steps_to_reproduce: '<string>',
error_message: '<string>',
call_ids: ['<string>'],
reporter_email: '<string>',
reporter_context: '<string>'
})
};
fetch('https://api.goyappr.com/report-issue', 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/report-issue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'description' => '<string>',
'source' => '<string>',
'steps_to_reproduce' => '<string>',
'error_message' => '<string>',
'call_ids' => [
'<string>'
],
'reporter_email' => '<string>',
'reporter_context' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.goyappr.com/report-issue"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"source\": \"<string>\",\n \"steps_to_reproduce\": \"<string>\",\n \"error_message\": \"<string>\",\n \"call_ids\": [\n \"<string>\"\n ],\n \"reporter_email\": \"<string>\",\n \"reporter_context\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.goyappr.com/report-issue")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"source\": \"<string>\",\n \"steps_to_reproduce\": \"<string>\",\n \"error_message\": \"<string>\",\n \"call_ids\": [\n \"<string>\"\n ],\n \"reporter_email\": \"<string>\",\n \"reporter_context\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/report-issue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"source\": \"<string>\",\n \"steps_to_reproduce\": \"<string>\",\n \"error_message\": \"<string>\",\n \"call_ids\": [\n \"<string>\"\n ],\n \"reporter_email\": \"<string>\",\n \"reporter_context\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "created"
}{
"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>"
}
]
}Report an issue
Files a bug or a feature request with the Yappr team, attributed to the
workspace that issued the key. Any valid key may call it: no scope is
needed. Reports whose titles closely match one already open are added
to that one, and the answer is created either way.
curl --request POST \
--url https://api.goyappr.com/report-issue \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"source": "<string>",
"steps_to_reproduce": "<string>",
"error_message": "<string>",
"call_ids": [
"<string>"
],
"reporter_email": "<string>",
"reporter_context": "<string>"
}
'import requests
url = "https://api.goyappr.com/report-issue"
payload = {
"title": "<string>",
"description": "<string>",
"source": "<string>",
"steps_to_reproduce": "<string>",
"error_message": "<string>",
"call_ids": ["<string>"],
"reporter_email": "<string>",
"reporter_context": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
source: '<string>',
steps_to_reproduce: '<string>',
error_message: '<string>',
call_ids: ['<string>'],
reporter_email: '<string>',
reporter_context: '<string>'
})
};
fetch('https://api.goyappr.com/report-issue', 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/report-issue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'description' => '<string>',
'source' => '<string>',
'steps_to_reproduce' => '<string>',
'error_message' => '<string>',
'call_ids' => [
'<string>'
],
'reporter_email' => '<string>',
'reporter_context' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.goyappr.com/report-issue"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"source\": \"<string>\",\n \"steps_to_reproduce\": \"<string>\",\n \"error_message\": \"<string>\",\n \"call_ids\": [\n \"<string>\"\n ],\n \"reporter_email\": \"<string>\",\n \"reporter_context\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.goyappr.com/report-issue")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"source\": \"<string>\",\n \"steps_to_reproduce\": \"<string>\",\n \"error_message\": \"<string>\",\n \"call_ids\": [\n \"<string>\"\n ],\n \"reporter_email\": \"<string>\",\n \"reporter_context\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.goyappr.com/report-issue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"source\": \"<string>\",\n \"steps_to_reproduce\": \"<string>\",\n \"error_message\": \"<string>\",\n \"call_ids\": [\n \"<string>\"\n ],\n \"reporter_email\": \"<string>\",\n \"reporter_context\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "created"
}{
"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>"
}
]
}call_ids and the error_message you received let the team find it without asking.
Example request
curl -s -X POST "https://api.goyappr.com/report-issue" \
-H "Authorization: Bearer $YAPPR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "bug",
"title": "GET /calls returns a call twice across pages",
"description": "Paging with offset while calls arrive repeats the last call of page one on page two.",
"steps_to_reproduce": "GET /calls?limit=20, then GET /calls?limit=20&offset=20 a minute later.",
"source": "my-sync-job"
}'
{ "status": "created" }
Good to know
- A report whose title closely matches one already open is added to that one, and the answer is still
created. - Text past each field’s limit is cut rather than refused: 200 characters for
title, 5000 fordescription, 2000 forsteps_to_reproduceanderror_message, and 20call_ids. 502 UPSTREAM_ERRORor503 SERVICE_UNAVAILABLEmean the report did not reach the team. Try again later, or write to support.
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).