Skip to main content
POST
/
companies
/
{company_id}
/
assistant
/
chat
Assistant chat for a company
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>"
}
'
{}

Authorizations

X-Api-Key
string
header
required

Your API key for authentication. Get your API key from the PGAI dashboard.

Path Parameters

company_id
string
required

Company ID (UUID)

Body

application/json
message
string
required

Chat message

conversation_id
string

Optional conversation ID to continue existing conversation

Response

Success

Response data