Update Tracked Url
curl --request PATCH \
--url https://app.backend.genezio.ai/customer/v1/brands/{brand_id}/tracked-urls/{tracked_url_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"group_id": 123,
"title": "<string>",
"url": "<string>"
}
'import requests
url = "https://app.backend.genezio.ai/customer/v1/brands/{brand_id}/tracked-urls/{tracked_url_id}"
payload = {
"group_id": 123,
"title": "<string>",
"url": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({group_id: 123, title: '<string>', url: '<string>'})
};
fetch('https://app.backend.genezio.ai/customer/v1/brands/{brand_id}/tracked-urls/{tracked_url_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"citation_rate": 0.04,
"citations": 123,
"conversations": 123,
"created_at": "2023-11-07T05:31:56Z",
"id": 123,
"title": "<string>",
"url": "<string>",
"first_cited": "2023-11-07T05:31:56Z",
"group": {
"id": 123,
"name": "<string>"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}Tracked URLs
Update a tracked URL
Change the address, the title or the group of a page. group_id: null
takes the page out of its group.
PATCH
/
customer
/
v1
/
brands
/
{brand_id}
/
tracked-urls
/
{tracked_url_id}
Update Tracked Url
curl --request PATCH \
--url https://app.backend.genezio.ai/customer/v1/brands/{brand_id}/tracked-urls/{tracked_url_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"group_id": 123,
"title": "<string>",
"url": "<string>"
}
'import requests
url = "https://app.backend.genezio.ai/customer/v1/brands/{brand_id}/tracked-urls/{tracked_url_id}"
payload = {
"group_id": 123,
"title": "<string>",
"url": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({group_id: 123, title: '<string>', url: '<string>'})
};
fetch('https://app.backend.genezio.ai/customer/v1/brands/{brand_id}/tracked-urls/{tracked_url_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"citation_rate": 0.04,
"citations": 123,
"conversations": 123,
"created_at": "2023-11-07T05:31:56Z",
"id": 123,
"title": "<string>",
"url": "<string>",
"first_cited": "2023-11-07T05:31:56Z",
"group": {
"id": 123,
"name": "<string>"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}{
"error": {
"code": "brand_access_denied",
"message": "This API key has no access to this brand",
"details": [
{
"field": "page_size",
"message": "Input should be less than or equal to 100"
}
],
"request_id": "4f3c2e1a-9b7d-4c1e-8f2a-1d3e5b7c9a0f"
}
}Authorizations
Headers
Body
application/json
Response
Successful Response