Open reporter thread
curl --request POST \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/requirements/{id}/reporter_thread \
--header 'api_access_token: <api-key>'const options = {method: 'POST', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/requirements/{id}/reporter_thread', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/requirements/{id}/reporter_thread"
headers = {"api_access_token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"conversation_id": 123
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}{}Requirements
Open reporter thread
Open the conversation the reporter reads: the one the case came from, or their wallet inbox thread, created on the fly. The answer reaches the reporter, never the owner.
POST
/
api
/
v1
/
accounts
/
{account_id}
/
requirements
/
{id}
/
reporter_thread
Open reporter thread
curl --request POST \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/requirements/{id}/reporter_thread \
--header 'api_access_token: <api-key>'const options = {method: 'POST', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/requirements/{id}/reporter_thread', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/requirements/{id}/reporter_thread"
headers = {"api_access_token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"conversation_id": 123
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}{}{}Was this page helpful?