1.0.0
OAS 3.0.0

Pal API

Pal API allows developers to create, manage, and utilize extensions to enhance the capabilities of Pal. Extensions enable interaction with external services, allowing users to perform actions such as controlling a Roomba via text messages.

API Key (ApiKeyAuth)
Client Libraries
Shell
Ruby
Node.js
PHP
Python
More

Create a new extension

Submit a new extension for review to the Pal Extension store. Webhook must return a JSON response containing "tool_name" (string) "tool_args" (dictionary) "data" (data produced by the webhook; dictionary) "status" ('success' or 'incompleted' or 'failed') and "response_instructions" (array string[]) containing instructions hon how Pal should respond to the user

Body
application/json
name
string

The name of the extension.

description
string

A brief description of the extension.

required_args
array string[]

List of required arguments.

optional_args
array string[]

List of optional arguments.

webhook_uri
string uri

The webhook URI for the extension.

method
string enum

The HTTP method used by the webhook.

  • GET
  • POST
headers
object

Custom headers to send with the webhook request.

Responses
  • 200Extension created successfully.
    application/json
POST/extensions
Shell cURL
curl --request POST \
  --url https://api.meetpal.ai/extensions \
  --header 'Content-Type: application/json' \
  --data '{
  "required_args": [
    null
  ],
  "optional_args": [
    null
  ],
  "method": "GET",
  "headers": {}
}'
{
  "status": 200,
  "message": "success",
  "data": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}

Models