Sign in

Send App User Message

documented

Send a message on behalf of an app user.

POST /v1.1/apps/{appId}/appusers/{userId}/messagesSunshine Conversationsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.smooch.io/v1.1/apps/{{$appId}}/appusers/{{$userId}}/messages" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"text": "{{$text}}", "role": "appUser", "type": "text"}' \
  # Source: Sunshine Conversations API Reference (docs.smooch.io) - POST a message to an appUser