For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upload a knowledge file

Upload a new file to the AI agent knowledge base for the specified entity.

post
Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Header parameters
X-API-Versionstring · enumOptional

Meta Business Agent API version

Possible values:
Body
stringOptional
or
fileOptional
Responses
201

The newly uploaded file metadata

application/json

Metadata of a knowledge base file

file_namestringRequired
idstringRequiredExample: 1234567890
post/agent_config/files

Last updated

Was this helpful?