cURL
curl --request POST \ --url https://api.getpg.ai/v1/companies/{company_id}/assistant/chat \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "message": "<string>", "conversation_id": "<string>" } '
{}
Send a chat message to the assistant for a specific company. Optionally continue an existing conversation.
Your API key for authentication. Get your API key from the PGAI dashboard.
Company ID (UUID)
Chat message
Optional conversation ID to continue existing conversation
Success
Response data