Creates a new Bring Your Own Agent (BYOA)
cURL
curl --request POST \ --url https://backend.wassist.app/api/v1/agents/byoa/ \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "webhookUrl": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "systemPrompt": "<string>", "firstMessage": "<string>", "profilePicture": "<string>", "tools": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "apiSchema": "<unknown>", "creditCost": 123, "active": true } ], "documents": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "file": "<string>", "status": "<string>" } ], "memoryKeys": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "key": "<string>", "type": "<string>", "initialValue": "<string>", "whenToUpdate": "<string>" } ], "wakeUpConfigs": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "description": "<string>", "forceMessage": true, "enabled": true } ], "outboundTriggers": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "url": "<string>", "templateId": "<string>", "templateName": "<string>", "secret": "<string>", "enabled": true } ], "websiteTools": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "url": "<string>", "prompt": "<string>", "active": true } ], "imageGenerateTools": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "prompt": "<string>", "creditCost": 123, "name": "<string>", "description": "<string>", "active": true } ], "handoffTools": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "parentAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "childAgentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "childAgentName": "<string>", "description": "<string>", "active": true } ], "mcpConfigs": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "connectorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "connectorName": "<string>", "toolWhitelist": "<unknown>" } ], "paywallConfig": "<string>", "adConfig": "<string>", "creditSettings": "<string>", "voiceCallConfig": "<string>", "owner": "<string>", "sharings": "<string>", "phoneNumbers": [ { "whatsappPhoneNumberId": "<string>", "whatsappBusinessAccountId": "<string>", "wabaId": "<string>", "phoneNumber": "<string>" } ], "totalMessages": "<string>", "totalSessions": "<string>", "connectUrl": "<string>", "ownerActive": "<string>", "createdAt": "2023-11-07T05:31:56Z", "description": "<string>", "icebreakers": "<unknown>" }
API key authentication. Pass your API key in the X-API-Key header.
Input serializer for creating a Bring Your Own Agent (BYOA) agent.
The webhook URL where messages will be forwarded
255
Show child attributes
Was this page helpful?