---
sourceDocument: Australia API Reference
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/api-reference

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Cookie Auth API

# Cookie Auth API {#ariaid-title1}

Release version: Australia  
Updated October 14, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The Cookie Auth Scripted REST API provides an endpoint that creates a short-lived ticket that the WebRTC phone widget needs to start a voice call. Because this endpoint doesn't require a login, it works for
authenticated and unauthenticated users.

WebRTC voice calling is a core capability for Customer Service Management (CSM) portals and Engagement Messenger. The Cookie Auth API allows authenticated and unauthenticated users (like customers on public support portals, third parties embedding Engagement Messenger) start a voice call
without logging in. The ticket expires after 60 seconds and works once, so a caller never gets a long-lived credential. The API imposes rate limits so the open endpoint can't be hit without restriction (see the API rate limits section for more information).

Typically, customers won't call this API directly because the phone widget calls it automatically when someone starts a call.

## Access and authentication {#cookieauth-api__section_access_authentication}

This API is provided in the sn_webrtc scope and requires the com.sn_webrtc (WebRTC Voice) plugin. No role is required to access this API.

## API rate limits {#cookieauth-api__section_rate_limits}

The application ships with two rate limit rules for the Cookie Auth POST endpoint. You can change the limits to suit your environment.
{#cookieauth-api__table_p5x_gjc_xkc__entry__3}

| Rule name | Applies to | Limit |
|-|-|-|
| WebRTC cookie auth limit for all users | All users | 3,600 requests per hour |
| WebRTC cookie auth limit for un-authenticated users | The Guest user | 3,600 requests per hour |
[Table 1. Shipped rate limit rules]

{#cookieauth-api__table_p5x_gjc_xkc}  
Important:  
All unauthenticated callers share the single Guest user identity, so the limit for the Guest rule is a shared limit for all unauthenticated callers, not a limit for each caller.

Conversely, authenticated users each
get 3,600 requests per hour as it is not shared under one identity. For example, authenticated User 1 gets 3,600 requests per hour, User 2 gets 3,600 per hour, and so on.
* **[Cookie Auth - POST /api/sn_webrtc/webrtc_cookie_auth/cookie_auth](https://www.servicenow.com/docs/41on_OJPAnbXrSnr5Hazaw)**   
  Returns a short-lived ticket that the WebRTC phone widget uses to connect to the voice service and start a call. The endpoint doesn't require login, so guest users can place calls.

