Change a tracked keyword's depth, cadence or tags.
curl --request PATCH \
--url https://api.appgoat.ai/v1/tracked-keywords/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"depth": 123,
"cadenceMinutes": 123,
"tags": [
"<string>"
]
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({depth: 123, cadenceMinutes: 123, tags: ['<string>']})
};
fetch('https://api.appgoat.ai/v1/tracked-keywords/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.appgoat.ai/v1/tracked-keywords/{id}"
payload = {
"depth": 123,
"cadenceMinutes": 123,
"tags": ["<string>"]
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": 123,
"term": "<string>",
"store": "apple",
"country": "<string>",
"depth": 123,
"cadence_minutes": 123,
"tags": [
"<string>"
],
"popularity": 123,
"last_run_at": "2023-11-07T05:31:56Z",
"top10": [
"<string>"
],
"ranked_at": "2023-11-07T05:31:56Z"
},
"meta": {
"credits_used": 123,
"credits_remaining": 123,
"request_id": "<string>",
"freshness": {
"fetched_at": "2023-11-07T05:31:56Z",
"age_seconds": 123,
"stale": true,
"refreshing": true,
"job_id": "<string>"
},
"next_cursor": "<string>",
"store": "apple",
"warnings": [
"<string>"
]
}
}{
"error": {
"code": "invalid_param",
"message": "<string>",
"hint": "<string>",
"docs": "<string>",
"param": "<string>"
}
}Keywords
Update tracked keyword
deprecated
PATCH
/
tracked-keywords
/
{id}
Change a tracked keyword's depth, cadence or tags.
curl --request PATCH \
--url https://api.appgoat.ai/v1/tracked-keywords/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"depth": 123,
"cadenceMinutes": 123,
"tags": [
"<string>"
]
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({depth: 123, cadenceMinutes: 123, tags: ['<string>']})
};
fetch('https://api.appgoat.ai/v1/tracked-keywords/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.appgoat.ai/v1/tracked-keywords/{id}"
payload = {
"depth": 123,
"cadenceMinutes": 123,
"tags": ["<string>"]
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": 123,
"term": "<string>",
"store": "apple",
"country": "<string>",
"depth": 123,
"cadence_minutes": 123,
"tags": [
"<string>"
],
"popularity": 123,
"last_run_at": "2023-11-07T05:31:56Z",
"top10": [
"<string>"
],
"ranked_at": "2023-11-07T05:31:56Z"
},
"meta": {
"credits_used": 123,
"credits_remaining": 123,
"request_id": "<string>",
"freshness": {
"fetched_at": "2023-11-07T05:31:56Z",
"age_seconds": 123,
"stale": true,
"refreshing": true,
"job_id": "<string>"
},
"next_cursor": "<string>",
"store": "apple",
"warnings": [
"<string>"
]
}
}{
"error": {
"code": "invalid_param",
"message": "<string>",
"hint": "<string>",
"docs": "<string>",
"param": "<string>"
}
}Authorizations
Create a key at https://dash.appgoat.ai.