Skip to main content
POST
/
sessions
/
{id}
/
responses
Submit a response
curl --request POST \
  --url https://app.harmonica.chat/api/v1/sessions/{id}/responses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "content": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your key as a Bearer token. Keys use the format hm_live_<32 hex chars>. Generate keys from your Harmonica dashboard settings.

Path Parameters

id
string<uuid>
required

Session ID

Body

application/json
content
string
required
Required string length: 1 - 10000

Response

Response submitted

id
string<uuid>
required
session_id
string<uuid>
required
content
string
required
created_at
string<date-time>
required