---
title: "How To Generate OAuth Token and Make Desired API Call via Postman"
slug: "how-to-generate-oauth-token-and-make-desired-api-call-via-postman"
updated: 2026-05-15T18:09:23Z
published: 2026-05-21T21:26:45Z
canonical: "help.8x8.com/how-to-generate-oauth-token-and-make-desired-api-call-via-postman"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.8x8.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How To Generate OAuth Token and Make Desired API Call via Postman

## Objective

This guide outlines the steps to generate an OAuth access token using 8x8's API and retrieve API data.

## Applies To

- API

## Procedure:

### **Step 1: Create Your 8x8 App in Admin Console**

1. Log in to [Admin Console](http://admin.8x8.com).
2. Click **API Keys.**
3. Click **Create App.**
4. Enter *App Name.*
5. Select desired atttributes for API Products.
6. Click **Save.**

### **Step 2: To Generate Access Token for OAuth**

1. Launch Postman
  - Click (**+**) sign to "**Create a New Request**"
  - Method: *POST*
  - Endpoint URL: *https://api.8x8.com/oauth/v2/token*
2. Click "Authorization"

> [!NOTE]
> Note
> 
> The app key and app secret were created in Admin Console in Step 1.
  - Auth Type: Basic Auth
  - *Username*: Your 8x8 app key
  - *Password*: Your 8x8 app secret
3. Click "Body"
  - Select "***x-www-form-urlencoded"***
  - Add the following key-value pair:
    - Key: *grant_type*
    - Value: *client_credentials*
4. Click "**Send**" to generate the "access token".

> [!NOTE]
> Note
> 
> Copy and save access token to text editor

### Step 3: Retrieve desired API (e.g.: Realtime Queue Metrics)

1. Use existing or click (**+**) sign to "**Create a New Request**"

> [!NOTE]
> Note
> 
> This API is for queue_id, name, metrics.
  - Method: GET
  - Endpoint URL: https://api.8x8.com/analytics/cc/v5/realtime-metrics/queues
2. Click **Authorization.**
  - From "Auth Type", click drop-down and select **Bearer Token**.
    - Token: Add the "access token" from Step 2.
    - Value: Paste the generated access token here.
  - Click Send to generate the request API data

## Additional Information

You may include additional headers or query parameters based on your specific use case. For more details and available options for other APIs, refer to the official 8x8 API documentation.

➡️ [8x8 Developer Hub](https://developer.8x8.com/) Ensure your App Key and Secret are kept secure and not shared publicly. OAuth tokens may expire; always retrieve a fresh token if your current one fails authentication.
