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", }
This endpoint allows you to refresh links in your existing bot