POST
/
v2
/
bots
/
links
/
public
import requests

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

data = {
    "links": [ link_1, link_2],
    "english": True,
    "baser": False
}

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

Body

links
array
required

List of links to be added to your bot. Example [sample_link_1, sample_link_2]

english
boolean

Source language for links.

  • If content is in english, then set this as true
  • If content is in any other language, then set this as false. In this case, language will be autodetected before the bot is trained
baser
boolean

Set this as true if you want high quality bot creation.

Response

message
string

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