---
title: Authentication via API (Classic)
description: To interact with MightyCall API, you must first authenticate your request by obtaining an authorization token.
---

[Skip to content](https://support.mightycall.com/authentication-via-api-mc#main-content)

<https://support.mightycall.com/kb-tickets/new?hsLang=en>

[![Logo MightyCall 32x35](https://support.mightycall.com/hs-fs/hubfs/Logo%20MightyCall%2032x35.png?width=33&height=35&name=Logo%20MightyCall%2032x35.png)](https://support.mightycall.com/?hsLang=en)

- [View status page](https://status.mightycall.com/)
- [Submit ticket](https://share.hsforms.com/1soAJALfaT0uWAbdbOnNPWA8ozk)
- [Visit our website](https://mightycall.com/)

Open main navigation

Close main navigation

- [View status page](https://status.mightycall.com/)
- [Submit ticket](https://share.hsforms.com/1soAJALfaT0uWAbdbOnNPWA8ozk)
- [Visit our website](https://mightycall.com/)
- <https://support.mightycall.com/kb-tickets/new>

 How can we help you?

- There are no suggestions because the search field is empty.

1. [MightyCall Help Center](https://support.mightycall.com/?hsLang=en)
2. [MightyCall Classic](https://support.mightycall.com/mightycall-classic?hsLang=en)
3. [Integrations](https://support.mightycall.com/mightycall-classic?hsLang=en#integrations)

# Authentication via API (Classic)

To interact with MightyCall API, you must first authenticate your request by obtaining an authorization token. Authentication is performed by sending a **POST** request to:

`https://api.mightycall.com/v4/auth/token`

This endpoint returns a bearer token, which is required to access all other API methods. The token is valid for **24 hours**, after which it must be refreshed or reissued.

There are 2 ways Classic customers can authenticate via API:

- By using their **API key + User key**, if they have a User key generated and toggled on in API integration;
- By using their **API key + extension**, if they **don’t** have a User key generated and toggled on in API integration.

So, for John here we will use the first method, and for Peter – the second one.

1. Create a new HTTPS request in your API client (we're using [Postman](https://www.postman.com) here).
   
    
   
   ![2026-03-25_15-13](https://support.mightycall.com/hs-fs/hubfs/2026-03-25_15-13.png?width=670&height=390&name=2026-03-25_15-13.png)
2. Select a method for your API request (we'll need **POST** for this case) and enter the endpoint: [https://api.mightycall.com/v4/auth/token](https://api.mightycall.com/v4/auth/token)
   
   ![2025-10-28_13-42](https://support.mightycall.com/hs-fs/hubfs/2025-10-28_13-42.png?width=670&height=257&name=2025-10-28_13-42.png)
3. In the **Headers** tab, add the following information:
   
   | **Key** | **Value** |
   | --- | --- |
   | `x-api-key` | The API key that from your account's API Integration section |
   | `Content-Type` | `application/x-www-form-urlencoded` |
   
   ![2025-10-28_13-51](https://support.mightycall.com/hs-fs/hubfs/2025-10-28_13-51.png?width=670&height=208&name=2025-10-28_13-51.png)
4. In the **Body** tab select **x-www-form-urlencoded** and enter the following:
   
   | **Key** | **Value** |
   | --- | --- |
   | `grant_type` | `client_credentials` |
   | `client_id` | The API key that from your account's API section |
   | `client_secret` | Your User key or extension |
   
    John is using his **User key** as `client_secret`:
   
   ![2025-10-28_13-57](https://support.mightycall.com/hs-fs/hubfs/2025-10-28_13-57.png?width=670&height=234&name=2025-10-28_13-57.png)  
   Peter is using his **extension** as `client_secret`:
   
   ![2025-10-28_14-19](https://support.mightycall.com/hs-fs/hubfs/2025-10-28_14-19.png?width=670&height=233&name=2025-10-28_14-19.png)
5. Click to **Send** the request. As a result, you should receive a **200 OK** response containing your **access\_token** (bearer token) **valid for 24 hours**, of which can be used for authorization in further API requests.
   
   ![2025-10-28_14-12](https://support.mightycall.com/hs-fs/hubfs/2025-10-28_14-12.png?width=670&height=304&name=2025-10-28_14-12.png)
6. You can use **refresh\_token** to include in the body of your new authentication API request: it will regenerate the bearer token and reset the 24 life cycle timer. In that case, you will need to change `grant_type` to `refresh_token` and remove other parameters from the **Body** tab:
   
   ![2025-10-28_18-29](https://support.mightycall.com/hs-fs/hubfs/2025-10-28_18-29.png?width=670&height=211&name=2025-10-28_18-29.png)

 

- [MightyCall Call Center](https://support.mightycall.com/mightycall-call-center?hsLang=en#main-content)
  
  
  
  
  
    - [Profile & Settings](https://support.mightycall.com/mightycall-call-center?hsLang=en#profile-settings)
    - [Subscription & Billing](https://support.mightycall.com/mightycall-call-center?hsLang=en#subscription-billing)
    - [Payment Methods](https://support.mightycall.com/mightycall-call-center?hsLang=en#payment-methods)
    - [Auto Dialer](https://support.mightycall.com/mightycall-call-center?hsLang=en#auto-dialer)
    - [Calling & Messaging](https://support.mightycall.com/mightycall-call-center?hsLang=en#calling-messaging)
    - [Messaging Compliance](https://support.mightycall.com/mightycall-call-center?hsLang=en#messaging-compliance)
    - [Call Flow Setup](https://support.mightycall.com/mightycall-call-center?hsLang=en#call-flow-setup)
    - [Numbers](https://support.mightycall.com/mightycall-call-center?hsLang=en#numbers)
    - [Team Management](https://support.mightycall.com/mightycall-call-center?hsLang=en#team-management)
    - [Workspaces](https://support.mightycall.com/mightycall-call-center?hsLang=en#workspaces)
    - [Reports](https://support.mightycall.com/mightycall-call-center?hsLang=en#reports)
    - [Mobile App](https://support.mightycall.com/mightycall-call-center?hsLang=en#mobile-app)
    - [Desktop App](https://support.mightycall.com/mightycall-call-center?hsLang=en#desktop-app)
    - [Integrations](https://support.mightycall.com/mightycall-call-center?hsLang=en#integrations)
    - [Deskphone Guides](https://support.mightycall.com/mightycall-call-center?hsLang=en#deskphone-guides)
    - [FAQs](https://support.mightycall.com/mightycall-call-center?hsLang=en#faqs)
- [MightyCall Classic](https://support.mightycall.com/mightycall-classic?hsLang=en#main-content)
  
  
  
  
  
    - [Personal Settings](https://support.mightycall.com/mightycall-classic?hsLang=en#personal-settings)
    - [Subscription & Billing](https://support.mightycall.com/mightycall-classic?hsLang=en#subscription-billing)
    - [Calling & Messaging](https://support.mightycall.com/mightycall-classic?hsLang=en#calling-messaging)
    - [Messaging Compliance](https://support.mightycall.com/mightycall-classic?hsLang=en#messaging-compliance)
    - [Call Flow](https://support.mightycall.com/mightycall-classic?hsLang=en#call-flow)
    - [Team & Roles](https://support.mightycall.com/mightycall-classic?hsLang=en#team-roles)
    - [Business Numbers](https://support.mightycall.com/mightycall-classic?hsLang=en#business-numbers)
    - [Mobile App](https://support.mightycall.com/mightycall-classic?hsLang=en#mobile-app)
    - [Integrations](https://support.mightycall.com/mightycall-classic?hsLang=en#integrations)
    - [Deskphone Guides](https://support.mightycall.com/mightycall-classic?hsLang=en#deskphone-guides)
    - [FAQs](https://support.mightycall.com/mightycall-classic?hsLang=en#faqs)

<https://www.facebook.com/MightyCallApp/> <https://www.linkedin.com/company/mightycall/> <https://www.youtube.com/user/mightycall> <https://www.instagram.com/mightycall_voip/> [mailto:support@mightycall.com](mailto:support@mightycall.com)

Copyright © 2025, MightyCall