List prompt suggestions
curl --request GET \
--url https://api.fullreach.ai/v1/projects/{project_id}/suggestions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fullreach.ai/v1/projects/{project_id}/suggestions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fullreach.ai/v1/projects/{project_id}/suggestions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"market": "<string>",
"language": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"persona_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reason": "silent",
"replaces_prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}Setup
List prompt suggestions
The prompt suggestions that nobody accepted or dismissed yet.
GET
/
v1
/
projects
/
{project_id}
/
suggestions
List prompt suggestions
curl --request GET \
--url https://api.fullreach.ai/v1/projects/{project_id}/suggestions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fullreach.ai/v1/projects/{project_id}/suggestions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fullreach.ai/v1/projects/{project_id}/suggestions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"text": "<string>",
"market": "<string>",
"language": "<string>",
"topic_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"persona_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reason": "silent",
"replaces_prompt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
],
"next_cursor": "<string>"
}