Flag this call as an issue for the Pineyard team to investigate
curl --request POST \
--url https://api.pineyard.ai/calls/{id}/issues \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"details": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>', details: '<string>'})
};
fetch('https://api.pineyard.ai/calls/{id}/issues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/calls/{id}/issues"
payload = {
"title": "<string>",
"details": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"number": 123,
"status": "<string>",
"alreadyOpen": true
}Calls
Flag this call as an issue for the Pineyard team to investigate
POST
/
calls
/
{id}
/
issues
Flag this call as an issue for the Pineyard team to investigate
curl --request POST \
--url https://api.pineyard.ai/calls/{id}/issues \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"details": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: '<string>', details: '<string>'})
};
fetch('https://api.pineyard.ai/calls/{id}/issues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/calls/{id}/issues"
payload = {
"title": "<string>",
"details": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>",
"number": 123,
"status": "<string>",
"alreadyOpen": true
}Required scope:
calls.view, and API keys additionally need calls.edit.Authorizations
Your API key, e.g. pk_live_xxxxxxxxxxxxxxxxxxxxxxxx.
Path Parameters
Body
application/json

