WebRTC Softphone Initialization 401 Unauthorized via ServiceNow Webhook Payload

How should I properly to structure the authentication headers for WebRTC softphone initialization when triggered via a ServiceNow webhook? Current setup details:

  • Genesys Cloud Release 2024-12 (v13.2), AWS eu-west-2.
  • ServiceNow Data Action sends JSON payload to Architect webhook node.
  • Error: 401 Unauthorized on /api/v2/webchat/sessions endpoint.
  • JWT token generated via OAuth 2.0 client credentials seems valid in Postman but fails in flow.
  • Architect flow uses ‘webchat.createSession’ action immediately after webhook execution.