Creates a new Agent
This endpoint lets you create a new agent.Documentation Index
Fetch the complete documentation index at: https://docs.wassist.app/llms.txt
Use this file to discover all available pages before exploring further.
api_schema, every parameter (in path_params, query_params, request_headers, or request_body) takes an input object that tells the platform where the value should come from at call time.
There are two input types:
type: description (LLM-extracted)
type: value (hardcoded)
%VARIABLE_NAME%.input of type: "value" contains one of the following tokens, the platform replaces it with the appropriate runtime value before the tool is invoked:
| Variable | Replaced with |
|---|---|
%PHONE_NUMBER% | The customer’s WhatsApp phone number for the current session |
%IMAGE_URL% | The URL of the most recent image the customer sent (if the triggering message was an image) |
%CALLBACK_URL% | A unique callback URL for this tool invocation — POST to it to send a follow-up message back into the conversation |
forward_message tool that posts the customer’s phone number, message text, attached image, and a reply callback to your own webhook:
%IMAGE_URL% is only populated when the message that triggered the tool call was an image. For text-only messages the field is omitted from the outgoing request.API key authentication. Pass your API key in the X-API-Key header.
255255