Legacy Dev Forum Posts

 View Only

Sign Up

Unauthorized (401) error while Consuming API

  • 1.  Unauthorized (401) error while Consuming API

    Posted 06-05-2025 19:19

    Pritesh_Ratnappagol | 2018-08-28 15:16:08 UTC | #1

    Hello @tim.smith @anon39326996,

    I am trying to consume some API using javascript for getting some data but I am getting unauthorized (401) error. So right now I am trying to consume the conversationAPI which requires the following permission to access it :

    Analytics > Conversation Detail > View

    I already have this permission to access it on purecloud app. So how can we get those permissions to consume API on website.

    Thanks in advance


    tim.smith | 2018-08-28 15:17:30 UTC | #2

    401 means you didn't include the authorization header in your request. See https://developer.mypurecloud.com/api/rest/authorization/index.html


    system | 2018-09-28 15:17:43 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 3451