POST
/
v2
/
bots
/
links
/
refresh
/
public
import requests

url = 'https://api-prod.usefini.com/v2/bots/links/refresh/public'
token = "your_api_key_here"
headers = {
    'authorization': 'Bearer token',
}

data = {
    "links": [ link_1, link_2]
}

response = requests.post(url, json=data, headers=headers)
print(response.json())
{
    "message": "Request for refreshing the links to bot sent successfully",
}

Body

links
array
required

List of links to be refreshed. Example [sample_link_1, sample_link_2]

Response

message
string

Indicates whether the request for links refresh was sent successfully to the server.