Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Configuring Postman

    Posted 06-05-2025 19:19

    Eduardo_Solano | 2018-06-05 12:26:33 UTC | #1

    Hello

    Im trying to configure postman with my purecloud org but receiving "bad credentials" error 401.

    If i see code looks like this:

    GET /api/v2/users/me HTTP/1.1 Host: api.mypurecloud.com Authorization: bearer {{token}} Content-Type: application/json Authorization: Bearer [redacted] Cache-Control: no-cache Postman-Token: d393c85b-64c9-4cef-a34c-b9bd008cf60d

    Is it ok?


    tim.smith | 2018-06-05 12:27:36 UTC | #2

    You have two authorization headers in that example. Try only sending the one that has a token.

    I've edited your post to remove the auth token. Please don't post them publicly. Auth tokens should be handled like passwords.


    Eduardo_Solano | 2018-06-05 16:21:04 UTC | #3

    Thanks for your coments, do you know how do i delete one of the headers?


    tim.smith | 2018-06-05 17:06:09 UTC | #4

    See the section Headers: https://www.getpostman.com/docs/v6/postman/sending_api_requests/requests


    Eduardo_Solano | 2018-06-05 17:17:21 UTC | #5

    Done!

    Thanks a lot. Now it is working.


    system | 2018-07-06 17:27:43 UTC | #6

    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: 2954