Objective
Access the 8x8 Contact Center Streaming API through Postman.
Applies To
8x8 Contact Center
Streaming API
Procedure
Gather Tenant and Token Information
Log in to Configuration Manager for Contact Center.
Go to Integration > API Token.
If no tokens are present, click New Token next to the Data Request Token field. DO NOT RESET the token!
Subscribe to the Streaming API on POSTMAN
Log in to Postman.
From the top left, select New.
Select WebSocket
Use the following URL: wss://tenanturl/api/streaming/v1/clientconnect/subscribe/TenantUpdates-{{tenantname}-cdc_postman?desiredOutputType=JSON&tenantId={{tenantname}}&subsId=cdc_postman&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.3.2-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=true
Example: wss://vcc-na3.8x8.com/api/streaming/v1/clientconnect/subscribe/TenantUpdates-tenant01-cdc_postman?desiredOutputType=JSON&tenantId=tenant01&subsId=cdc_postman&X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.3.2-javascript&X-Atmosphere-Transport=websocket&X-atmo-protocol=trueFor the headers, add key “Authorization” and “Token Key for the value”
To get the Token key, run the Basic Auth in Postman.
From there, access the curl section to get the header.
Include additional headers in the socket.
Cache-Control = no-cache
Origin = tenant url ex. https://vcc-na3.8x8.com
Accept-Encoding = gzip, deflate, br, zstd
Pragma = no-cache
User-Agent =cdc_postman
Click Connect.
You should see a successful connection response.
Disconnect if not in use.