Postman oAuth20 API
The oAuth20 API from Postman — 2 operation(s) for oauth20.
The oAuth20 API from Postman — 2 operation(s) for oauth20.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/postman-oauth20-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Postman O Auth20 API
version: 1.0.0
servers:
- url: https://api.postman.com
description: https://api.postman.com
- url: https://api.eu.postman.com
description: https://api.eu.postman.com
tags:
- name: oAuth20
paths:
/oauth2/token:
post:
operationId: generateOauthToken
summary: Generate an OAuth Token
description: 'Generates an OAuth 2.0 access token for a client application using the `client_credentials` grant type. Use this endpoint with backend services or bots to authenticate and authorize API requests without user interaction.
**Note:**
This endpoint uses Basic Auth. You must pass a valid client ID and client secret for the username and password, respectively.
'
tags:
- oAuth20
parameters:
- name: Authorization
in: header
description: Basic authentication
required: true
schema:
type: string
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/generateOauthTokenResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/oauthTokenError'
'404':
description: Token Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/oauthTokenError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateOauthTokenRequestInternalServerError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/generateOauthToken'
/oauth2/token/revoke:
post:
operationId: revokeOauthToken
summary: Revoke an OAuth Token
description: 'Revokes an active OAuth 2.0 access token and prevents further use of it for authentication. Once revoked, the token can''t be used for any API requests.
**Note:**
- Revocation of an OAuth token is immediate and can''t be undone.
- This request does not use any authorization.
'
tags:
- oAuth20
responses:
'200':
description: Token Revoked
content:
application/json:
schema:
$ref: '#/components/schemas/revokeOauthTokenResponse'
'404':
description: Token Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/oauthTokenError'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/RevokeOauthTokenRequestInternalServerError'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/revokeOauthToken'
components:
schemas:
oauthTokenError:
type: object
properties:
error:
type: string
description: The type of error.
error_description:
type: string
description: Information about the error.
title: oauthTokenError
commonErrorTypeTitleDetailStatus:
type: object
properties:
type:
$ref: '#/components/schemas/CommonErrorTypeTitleDetailStatusType'
title:
type: string
description: A short summary of the problem.
detail:
type: string
description: Information about the error.
status:
type: integer
description: The error's HTTP status code.
title: commonErrorTypeTitleDetailStatus
CommonErrorTypeTitleDetailDetail:
oneOf:
- type: string
- type: object
additionalProperties:
description: Any type
description: Information about the error.
title: CommonErrorTypeTitleDetailDetail
commonErrorNameMessage:
type: object
properties:
error:
$ref: '#/components/schemas/CommonErrorNameMessageError'
description: Information about the error.
title: commonErrorNameMessage
generateOauthTokenResponse:
type: object
properties:
access_token:
type: string
description: A Postman OAuth 2.0 access token.
expires_in:
type: integer
description: The time the token expires, in milliseconds.
token_type:
$ref: '#/components/schemas/GenerateOauthTokenResponseTokenType'
description: The `Bearer` token type.
title: generateOauthTokenResponse
GenerateOauthTokenRequestInternalServerError:
oneOf:
- $ref: '#/components/schemas/commonErrorTypeTitleDetail'
- $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
- $ref: '#/components/schemas/commonErrorNameMessage'
title: GenerateOauthTokenRequestInternalServerError
CommonErrorNameMessageError:
type: object
properties:
name:
type: string
description: The error name.
message:
type: string
description: The error message.
description: Information about the error.
title: CommonErrorNameMessageError
CommonErrorTypeTitleDetailStatusType:
oneOf:
- type: string
format: uri-reference
- type: string
title: CommonErrorTypeTitleDetailStatusType
commonErrorTypeTitleDetail:
type: object
properties:
type:
type: string
description: The type of error.
title:
type: string
description: A short summary of the problem.
detail:
$ref: '#/components/schemas/CommonErrorTypeTitleDetailDetail'
description: Information about the error.
title: commonErrorTypeTitleDetail
generateOauthToken:
type: object
properties:
grant_type:
type: string
description: The `client_credentials` OAuth grant type.
installationAuthId:
type: string
description: The client's installation authentication ID.
jwt:
type: string
description: A signed JWT token. The token must include `iss` (issuer), `aud` (audience), `iat` (issued at), `exp` (expiration timestamp), and `jti` (JWT ID).
required:
- grant_type
- installationAuthId
- jwt
title: generateOauthToken
revokeOauthTokenResponse:
type: object
properties:
success:
type: string
description: The `true` value.
title: revokeOauthTokenResponse
RevokeOauthTokenRequestInternalServerError:
oneOf:
- $ref: '#/components/schemas/commonErrorTypeTitleDetail'
- $ref: '#/components/schemas/commonErrorTypeTitleDetailStatus'
- $ref: '#/components/schemas/commonErrorNameMessage'
title: RevokeOauthTokenRequestInternalServerError
GenerateOauthTokenResponseTokenType:
type: string
enum:
- Bearer
description: The `Bearer` token type.
title: GenerateOauthTokenResponseTokenType
revokeOauthToken:
type: object
properties:
token:
type: string
description: The Postman OAuth 2.0 access token to revoke.
required:
- token
title: revokeOauthToken
securitySchemes:
PostmanApiKey:
type: apiKey
in: header
name: x-api-key
basicAuth:
type: http
scheme: basic
scimApiKey:
type: apiKey
in: header
name: Authorization
description: A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
x-provenance:
first_party: true
method: harvested
provider_published: true
source: https://learning.postman.com/api-docs/openapi.json
harvested: '2026-08-05'
note: Postman's own OpenAPI 3.1 definition for the Postman API, served by its Fern-hosted API reference. 162 paths, 256 operations, servers api.postman.com and api.eu.postman.com.