Create an API tool for an application

This endpoint allows the creation of an API tool and associates it with a specified application ID.

Query Params
integer
required

The ID of the application to associate with the api tool.

Body Params
string
required

The name of the API tool.

string

A brief description of what the API tool does.

string
required

The base URL for the API tool's endpoint.

string
required

The specific endpoint of the API tool.

string
required

The HTTP method used by the API tool (e.g., GET, POST).

headers
object

Custom headers to be sent with the API request.

params
object

Query parameters to include in the API request.

body
object

The body content to be sent with the API request, if applicable.

integer

The time (in seconds) for which the response should be cached.

string

The prompt to be used with GlamourAI for generating responses.

integer

The number of tokens allocated to GlamourAI for generating responses.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json