Skip to main content
POST
/
tools
/
create
Create a new tool
curl --request POST \
  --url https://api.cleartalk.ai/tools/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "url": "<string>",
  "name": "<string>",
  "method": "<string>",
  "speech": "<string>",
  "headers": {},
  "cooldown": "<string>",
  "description": "<string>",
  "response_data": [
    {
      "data": "<string>",
      "name": "<string>"
    }
  ]
}
'

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
url
string
required
name
string
required
method
string
required
speech
string
required
headers
object
required
cooldown
string
required
description
string
required
response_data
object[]
required

Response

201

Tool created successfully