New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@postman/api-sdk

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@postman/api-sdk

The Postman API enables you to programmatically access data stored in your Postman account. For a comprehensive set of examples of requests and responses, see the [**Postman API** collection](https://www.postman.com/postman/workspace/postman-public-works

latest
Source
npmnpm
Version
1.46.0
Version published
Weekly downloads
10
-66.67%
Maintainers
3
Weekly downloads
 
Created
Source

PostmanApi TypeScript SDK 1.46.0

Welcome to the PostmanApi SDK documentation. This guide will help you get started with integrating and using the PostmanApi SDK in your project.

Versions

  • SDK version: 1.46.0

About the API

The Postman API enables you to programmatically access data stored in your Postman account.

For a comprehensive set of examples of requests and responses, see the Postman API collection.

Note:

Certain endpoints may be unavailable depending on your region and/or Postman plan.

Getting started

You can get started with the Postman API by creating a copy of this definition in your workspace.

EU users

For users in the EU with Enterprise plans, the Postman API uses the http://api.eu.postman.com subdomain. This is available in the definition's list of servers. You can change this by selecting the http://api.eu.postman.com subdomain in the Server dropdown list below.

About the Postman API

  • You must use a valid API Key to send requests to the API endpoints.
  • The API has rate and usage limits.
  • The API only responds to HTTPS-secured communications. Any requests sent via HTTP return an HTTP 301 redirect to the corresponding HTTPS resources.
  • The API returns requests responses in JSON format.
  • The request method (verb) determines the nature of action you intend to perform. A request made using the GET method implies that you want to fetch something from Postman. The POST method implies you want to save something new to Postman.
  • For all requests, API calls respond with their corresponding HTTP status codes. In the Postman client, the status code also provides help text that details the possible meaning of the response code.

IDs and UIDs

All items in Postman, such as collections, workspaces, and APIs, have IDs and UIDs:

  • An ID is the unique ID assigned to a Postman item. For example, ec29121c-5203-409f-9e84-e83ffc10f226.
  • The UID is the full ID of a Postman item. This value is the item's unique ID concatenated with the user ID. For example, in the 12345678-ec29121c-5203-409f-9e84-e83ffc10f226 UID, where 12345678 is the user's ID and ec29121c-5203-409f-9e84-e83ffc10f226 is the item's ID.

Enum values

Any documented enum values should be considered partial lists and may change over time.

403 response for unavailable features

Depending on your region and/or Postman plan, some endpoints will return an HTTP 403 Forbidden response with the "This feature isn't available in your region." detail.

503 response

An HTTP 503 Service Unavailable response from our servers indicates there is an unexpected spike in API access traffic. The server is usually operational within the next five minutes.

If the outage persists or you receive any other form of an HTTP 5XX error, contact support.

Authentication

Postman uses API keys for authentication. The API key tells the API server that the request came from you. Everything that you have access to in Postman is accessible with your API key. You can generate a Postman API key in the API keys section of your Postman account settings.

You must include an API key in each request to the Postman API with the X-API-Key request header. In Postman, you can store your API key as a vault secret or an environment variable. The Postman API collection will use it to make API calls.

SCIM authentication

While all other endpoints in this collection require a Postman API key, the SCIM endpoints require a SCIM API key.

Authentication error response

If an API key is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.

Rate and usage limits

API access rate limits apply at a per-user basis in unit time. The limit is 300 requests per minute.

  • Postman Monitors, as well as the GET /collections, GET /workspaces, and GET /workspaces/{id} endpoints have a rate limit of 10 calls in 10 seconds.
  • Workspace updates endpoints have a rate limit of 20 requests per minute per user.
  • The POST /service-account-tokens endpoint has a rate limit of 10 requests per 10 second window per user.
  • The POST /import/openapi endpoint has a rate limit of 10 requests in 10 seconds.

Depending on your plan, you may also have usage limits. Every API response includes headers to help you identify the status of your use limits. For more information, see Track Postman API call limits.

When you reach your rate or usage limits, the API returns the following HTTP 429 Too Many Requests status code with one of the following error responses:

  • rateLimited — Rate limits reached. The response returns the time after which you can resume calls to the Postman API. The response header also includes the X-RateLimit-RetryAfter and Retry-After responses when you go over your limit, which returns the seconds remaining until you can make another request.
  • serviceLimitExhausted — Postman API service limits reached. You will need to contact your Postman Team Admin for assistance.

Support

For help regarding accessing the Postman API, you can:

Policies

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: TypeScript >= 4.8.4

Installation

To get started with the SDK, we recommend installing using npm or yarn:

npm install @postman/api-sdk

or

yarn add @postman/api-sdk

Authentication

Basic Authentication

The PostmanApi API uses Basic Authentication.

You need to provide your username and password when initializing the SDK.

Setting the Username and Password

When you initialize the SDK, you can set the username and password as follows:

const sdk = new PostmanApi({ username: 'YOUR_USERNAME', password: 'YOUR_PASSWORD' });

If you need to set or update the username and password after initializing the SDK, you can use:

const sdk = new PostmanApi();
sdk.username = 'YOUR_USERNAME';
sdk.password = 'YOUR_PASSWORD';

API Key Authentication

The PostmanApi API uses API keys as a form of authentication. An API key is a unique identifier used to authenticate a user, developer, or a program that is calling the API.

Setting the API key

When you initialize the SDK, you can set the API key as follows:

const sdk = new PostmanApi({ apiKey: 'YOUR_API_KEY' });

If you need to set or update the API key after initializing the SDK, you can use:

const sdk = new PostmanApi();
sdk.apiKey = 'YOUR_API_KEY';

Setting a Custom Timeout

You can set a custom timeout for the SDK's HTTP requests as follows:

const postmanApi = new PostmanApi({ timeout: 10000 });

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

import { PostmanApi } from '@postman/api-sdk';

(async () => {
  const postmanApi = new PostmanApi({
    apiKey: 'YOUR_API_KEY',
  });

  const data = await postmanApi.billing.getAccounts();

  console.log(data);
})();

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation:
Name
BillingService
AnalyticsService
ApiCatalogService
ApiService
SpecsService
TagsService
AuditLogsService
CollectionAccessKeysService
CollectionsService
CollectionItemsService
CollectionFoldersService
CollectionRequestsService
CollectionResponsesService
CommentsService
ComponentsService
SecretScannerService
EnvironmentsService
GroupsService
Import_Service
WorkspacesService
UsersService
MocksService
MonitorsService
PrivateApiNetworkService
OAuth2_0Service
PackagesService
PostbotService
PullRequestsService
ApiSecurityService
SdksService
SearchService
ServiceAccountsService
TeamsService
WebhooksService

Models

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

Below is a list of all available models with links to their detailed documentation:
NameDescription
AccountInformationInformation about the account.
InvoicesSlotsInformation about the team's slots.
ErrorTypeTitleDetailStatus
GetAuditLogEventActionsClientErrorResponse
CreateApiClientErrorResponse
GetAccountInvoices
AccountInvoiceInformation about the invoice.
InvoicesTotalInformation about the invoice's total billed amount.
InvoicesLinksA JSON API spec object containing hypermedia links.
BillingAccountStatus
GetAnalyticsData
AnalyticsDataSummary
AnalyticsDataObjectData analytics information.
GetAnalyticsDataSchema
GetAnalyticsDataColumnsData
PaginationDataInformation about the response pagination.
AnalyticsDataPartnerEngagementFunnel
PartnersEngagementPartnersDataInformation about partner users and their activity.
PartnersEngagementWorkspaceVisitsInformation about partner users' workspace visits.
PartnersEngagementCollectionViewsInformation about partner users' views of collections in a workspace.
PartnersEngagementRequestsSentInformation about requests sent by partner users.
PartnersEngagementSuccessfulRequestsSentInformation about partner users' successful request calls in a workspace.
AnalyticsResource
AnalyticsMetrics
AnalyticsView
AnalyticsDuration
AnalyticsUserType
AnalyticsEntityType
ErrorTypeTitleDetailStatus
ErrorTypeTitleDetailStatusInstance
GetAnalyticsMetadata
AnalyticsMetadataResourceDataInformation about the resource.
AnalyticsMetadataMetricsDataInformation about the resource's metric.
AnalyticsMetadataWithParametersAndResponseDataDetailed information about the resource including its metrics, parameters, and response schema.
GetAnalyticsMetadataResourceMetricsDataDetailedInformation about the resource's metric.
GetAnalyticsMetadataResourceMetricsDataDetailedParametersInformation about the metric's parameters.
GetAnalyticsMetadataResourceMetricsDataDetailedParametersViewInformation about the view parameter.
GetAnalyticsMetadataResourceMetricsDataDetailedParametersFiltersDataInformation about the filter.
GetAnalticsMetadataPaginationDataInformation about the metric's pagination parameters.
GetAnalyticsMetadataResourceMetricsDataDetailedResponse1Information about the metric's response parameters.
GetAnalyticsMetadataResourceMetricsDataDetailedDataInformation about the metric's detailed parameter.
GetAnalyticsMetadataResourceMetricsDataSummaryDataInformation about the metric's summary parameter.
GetApiCatalogDiscoveryServices
GetApiCatalogDiscoveryMetaDataThe response's meta information for paginated results.
GetApiCatalogServiceData1Information about the discovered service.
DiscoveryServicesSource
ErrorTypeStatusTitleDetailErrors
ApiCatalogErrorPathMessageInformation about the error.
ErrorTypeTitleDetailStatus
PostApiCatalogDiscoveryServicesResponse
PostApiCatalogDiscoveryServicesServiceDataInformation about a discovered service.
PostApiCatalogDiscoveryServicesResponseMetaDataThe operation's metadata summary.
PostApiCatalogDiscoveryServices
PostApiCatalogDiscoveryServiceDataInformation about the discovered service.
PostApiCatalogDiscoveryServicesApiDefinitionDataThe API definition (specification) for the service. If you pass this with the endpoints array, this object is given preference and endpoints is ignored.
ApiCatalogDiscoveryServiceEndpointsDataInformation about a service's endpoint.
PostApiCatalogDiscoveryServicesProviderMetadataDataAdditional metadata from the discovery source provider.
GetApiCatalogDiscoveryServiceInformation about the discovered service.
ApiCatalogDiscoveryServicesProviderMetadataAdditional metadata from the discovery source provider.
GetApiCatalogDiscoveryServiceApiDefinitionDataThe API definition associated with the service.
GetApiCatalogServices
ApiCatalogServiceMetadataTimeRangeDataThe time window for the returned data.
ApiCatalogServiceServiceDataInformation about the service.
GetApiCatalogService
GetApiCatalogServiceTrafficDataInformation about traffic and performance within the time window. If there's no traffic data, this returns a null value.
GetApiCatalogServiceComplianceDataInformation about compliance and governance.
GetApiCatalogServiceEntityCountDataInformation about the workspace's entities.
GetApiCatalogServiceOwnerDataThe service's owner. If no owner is assigned, this returns a null value.
GetApiCatalogServiceEndpoints
GetApiCatalogServiceMonitorRuns
ApiCatalogServiceCollectionDataInformation about the collection.
ApiCatalogServiceEnvironmentDataInformation about the environment.
ApiCatalogServicePerformanceDataInformation about the response time range across all requests in the run.
ApiCatalogServiceStatusFilter
GetApiCatalogServiceSpecificationLints
ApiCatalogServiceSpecLintSeverityFilter
GetApiCatalogServiceCiRuns
GetApiCatalogSystemEnvironments
ApiCatalogSystemEnvironmentsMetaDataThe response's meta information for paginated results.
ApiCatalogSystemEnvironmentsFiltersDataThe applied filters, if any.
ApiCatalogSystemEnvironmentDataInformation about the system environment.
CreateApiCatalogSystemEnvironmentResponse
PostPatchApiCatalogSystemEnvironmentDataInformation about the system environment.
CreateApiCatalogSystemEnvironment
GetApiCatalogSystemEnvironment
UpdateApiCatalogSystemEnvironmentResponse
UpdateApiCatalogSystemEnvironment
GetApiCatalogSystemEnvironmentAssociations
GetApiCatalogSystemEnvironmentAssociationsDataInformation about the workspace-environment association.
AddApiCatalogSystemEnvironmentAssociationsResponse
AddApiCatalogSystemEnvironmentAssociationsMetaDataThe response's meta information for paginated results.
AddApiCatalogSystemEnvironmentAssociationsDataInformation about the associated workspace environment.
AddApiCatalogSystemEnvironmentAssociations
RemoveApiCatalogSystemEnvironmentAssociationsResponse
RemoveApiCatalogSystemEnvironmentAssociationsMetaDataThe response's meta information for paginated results.
RemoveApiCatalogSystemEnvironmentAssociationsDataInformation about the associated workspace environment.
RemoveApiCatalogSystemEnvironmentAssociations
GetApIsInformation about the API schema.
ErrorTypeTitleDetailStatus
GetAuditLogEventActionsClientErrorResponse
CreateApiClientErrorResponse
Api404Error2
ApiCreated
CreateUpdateApiInformation about the API.
ErrorTypeTitleDetailStatusInstance
ErrorTypeTitleMessageDetail
ApiInclude
ApiErrorNameMessage
UpdateApiResponse
ApiCollectionAdded
CopyCollectionToApi
CreateApiCollection
GenerateFromSchema
GetApiCollection
CommentResponseObject
CommentDataInformation about the comment.
CommentUpdatedCreatedObject
CommentCreateInformation about the comment.
TaggedUsersInformation about users tagged in the body comment.
CommentUpdateInformation about the comment.
SyncCollectionWithSchemaResponse
CreateApiSchemaResponseInformation about the API schema.
CreateApiSchemaInformation about the API schema.
ApiSchemaFiles
SchemaFileContents
CreateUpdateApiSchemaFileResponseInformation about the schema file.
CreateUpdateApiSchemaFileInformation about schema file.
GetStatusOfAnAsyncApiTaskOkResponse
GetApiVersions
ApiVersionCreated
CreateVersionSchemaNotGitLinkedInformation about the API version.
CreateVersionSchemaGitLinkedInformation about the API version.
CreateVersionSchemaGitLinkedWithRootFileInformation about the API version.
ApiVersion
ApiVersionUpdatedInformation about the API version.
UpdateApiVersionInformation about the API version.
GetMigrationStatus
GetMigrationStatus400Error
ErrorTypeTitleDetailStatusInstance
ErrorTypeTitleDetailStatus
MigrateToSpecHubResponse
MigrateToExistingWorkspace
MigrateToNewWorkspace
MigrateGitConnectedMonoRepoToNewWorkspace
ErrorTitleMessage
ErrorTitleDetailsMessage
ErrorTypeNameMessageTitle
GetGeneratedCollectionSpecs
CollectionSpecInformationInformation about the collection's API specification.
GetGeneratedCollectionSpecsMetaThe response's meta information for paginated results.
ElementTypeSpec
TaskCreated
GenerateSpecFromCollection
GetAsyncCollectionTaskStatus1
DetailsInformation about the task's resources.
AsyncTaskFailed
ElementType
GetAllSpecs
SpecTypeThe type of API specification.
CreateSpecResponse
CreateSpec
CreateApiClientErrorResponse
SpecInformationInformation about the API specification.
FileFormatThe specification's file format.
UpdateSpecPropertiesResponse
UpdateSpecProperties
ApiSpecSyncOptions
GetSpecFilesInformation about the specification's files.
SpecFileInformationInformation about the API specification file.
CreateUpdateSpecFileResponseInformation about the API specification file.
CreateSpecFile
GetSpecFileInformation about the API specification file.
UpdateSpecFileYou must pass one of the accepted values in this request body. Also, this request body does not accept multiple properties in a single call. For example, you cannot pass both the content and type property at the same time.
GetSpecCollections
SpecCollectionInformationInformation about the API specification's collection.
ElementTypeCollection
GenerateCollection
GenerateCollectionOptionsThe advanced creation options and their values. For more details, see Postman's OpenAPI to Postman Collection Converter OPTIONS documentation. These properties are case-sensitive.
GetSpecVersionTag
GetSpecVersionTags
GetSpecVersionTagsMeta
CreateSpecVersionTagResponse
CreateSpecVersionTag
SuccessResponse
ApiErrorNameMessage
ErrorTypeTitleDetailStatus
ErrorTypeTitleDetailStatusInstance
UpdateTags
ApiTag400Error1
Tag400Error2
GetTaggedEntitiesOkResponse
AscDescDefaultDesc
TagsEntityType
GetAuditLogs
AuditLogEventInformation about the audit log event.
AuditLogDataInformation about the audit log.
AuditLogActorInformation about the user who preformed the audit event.
AuditLogUserInformation about the user.
AuditLogTeamThe user's team information.
AscDescDefaultDesc
GetAuditLogEventActionsClientErrorResponse
ErrorTypeTitleDetailStatus
AuditLogEvents
AuditLogActionInformation about the audit log event action.
CollectionAccessKeys
CreateApiClientErrorResponse
ErrorTypeTitleDetailStatus
ErrorNameMessageDetails
DeleteCollectionAccessKeyNotFoundResponse
AsyncMergePullCollectionForkOkResponse
MergePullCollectionChanges
ErrorTypeTitleDetailStatus
TaskStatusResponse
CollectionsList
MetaLimitOffsetTotalThe response's meta information for paginated results.
CollectionCreated
CreateCollection
CreateCollectionSchema
CreateCollectionSchemaInfoInformation about the collection.
CreateCollectionSchemaItemInformation about the collection request or folder.
VariableInformation about the variable.
CreateCollectionSchemaEventInformation about the collection's events.
EventScriptInformation about the Javascript code that can be used to to perform setup or teardown operations in a response.
ResponseOriginalRequest1Information about the collection request.
CreateCollectionSchemaAuthThe authorization type supported by Postman.
AuthAttributesInformation about the supported Postman authorization type.
ResponseHeader2_1Information about the header.
ItemResponse1Information about the request's response.
ProtocolProfileBehaviorThe settings used to alter the Protocol Profile Behavior of sending a request.
ErrorNameMessageDetails
UsersForkedCollections
AscDesc
GetCollectionsForkedByUserBadRequestResponse
CollectionForkCreated
CreateCollectionFork
CollectionForkMerged
MergeCollectionFork
CollectionInformation
CollectionItemInformation about the collection request or folder.
VariableList2_1Information about the variable.
SecretVariableInfoInformation about the secret variable.
EnvironmentVariableSourceInformation about the source of the variable's value.
CollectionEventInformation about the collection's events.
RequestEventsScriptInformation about the Javascript code that can be used to to perform setup or teardown operations in a response.
ResponseOriginalRequest2Information about the collection request.
CollectionAuthThe authorization type supported by Postman.
ResponseHeader2_2Information about the header.
ItemResponse2Information about the request's response.
CollectionVariableInfoInformation about a collection-level variable. Collection variables don't support id, description, or enabled fields. Use disabled to control whether a variable is active.
CollectionSecretVariableInfoInformation about a collection-level secret variable. Collection variables don't have an id field.
CollectionModelQuery
GetAuditLogEventActionsClientErrorResponse
PutCollectionOkResponse
Prefer
ReplaceCollectionData
ModifyCollectionSchema
ModifyCollectionSchemaInfoInformation about the collection.
CollectionUpdatedAsync
PatchCollectionOkResponse
UpdateCollection
CollectionDeleted
CommentResponseObject
CommentUpdatedCreatedObject
CommentCreateInformation about the comment.
CommentUpdateInformation about the comment.
DuplicateCollectionResponse
DuplicateCollection
CollectionForksInfo
GetCollectionForksNotFoundResponse
PublishDocumentationResponse
DocumentationCustomizationSettingsInformation about the documentation's customization.
DocumentationMetaTags
DocumentationApperanceSettingsInformation about the documentation appearance, such as colors and theme.
DocumentationThemeSettings
DocumentationColorSettingsThe theme's colors, in six digit hexcode. The values in this object must match the hexcode values of either the light or dark theme defined in the appearance object.
PublishDocumentation
CollectionChangesPulled
CollectionPullRequests
PullRequestCreated
CreatePullRequestInformation about the pull request.
CollectionRolesInfoInformation about the collection's roles.
ErrorTitleType
UpdateCollectionRoles
SourceCollectionStatus
GetSourceCollectionStatusBadRequestResponse
CollectionTransformed
CollectionTransformFormat
ErrorTypeTitleDetailStatusInstance
CollectionItemsTransferred
TransferCollectionItems
CreateApiClientErrorResponse
GetCollectionUpdateStatus
CollectionFolderCreated
CreateFolderInformation about the collection folder. For a complete list of properties, refer to the Postman Collection Format documentation. Note: It is recommended that you pass the name property in the request body. If you do not, the system uses a null value. As a result, this creates a folder with a blank name.
ErrorNameMessageDetails
CollectionRequestCreated
CreateRequestInformation about the request. For a complete list of properties, refer to the Request property in the Postman Collection Format documentation. Note: It is recommended that you pass the name property in the request body. If you do not, the system uses a null value. As a result, this creates a request with a blank name.
RequestMethodThe request's HTTP method.
RequestHeaderData
RequestQueryParams
RequestData
RequestGraphqlModeDataThe request body's GraphQL mode data.
RequestDataOptionsAdditional configurations and options set for the request body's various data modes.
RequestAuthThe request's authentication information.
AuthAttributesInformation about the supported Postman authorization type.
RequestEvents
RequestEventsScriptInformation about the Javascript code that can be used to to perform setup or teardown operations in a response.
CreateCollectionResponseOkResponse
CreateCollectionResponseRequestInformation about the response. For a complete list of properties, refer to the Response entry in the Postman Collection Format documentation. Note: It is recommended that you pass the name property in the request body. If you do not, the system uses a null value. As a result, this creates a response with a blank name.
ResponseHeader2_2Information about the header.
CollectionFolderInfo
CollectionFolderUpdated
UpdateFolderThe folder properties to update. For a complete list of properties, refer to the Postman Collection Format documentation.
CollectionFolderDeleted
CollectionRequestInfo
CollectionRequestUpdated
UpdateRequestThe request properties to update. For a complete list of properties, refer to the Request property in the Postman Collection Format documentation.
CollectionRequestDeleted
CollectionResponseInfo
CollectionResponseUpdated
UpdateCollectionResponse1The response properties to update. For a complete list of properties, refer to the Response entry in the Postman Collection Format documentation.
CollectionResponseDeleted
CommentResponseObject
ErrorTypeTitleDetailStatus
CommentUpdatedCreatedObject
CommentCreateInformation about the comment.
CommentUpdateInformation about the comment.
CommentResponseObject
ErrorTypeTitleDetailStatus
CommentUpdatedCreatedObject
CommentCreateInformation about the comment.
CommentUpdateInformation about the comment.
CommentResponseObject
ErrorTypeTitleDetailStatus
CommentUpdatedCreatedObject
CommentCreateInformation about the comment.
CommentUpdateInformation about the comment.
ErrorTypeTitleDetailStatus
GetAllComponents
GetSpecVersionTagsMeta
ComponentDataInformation about the component.
ComponentTypeThe component's type. Corresponds to the specification that the component's content adheres to.
ComponentStatusThe component's lifecycle state: - active — The component is active and can be edited and published. - archived — The component is archived and read-only. Archived components can't be edited or published, but their existing versions remain accessible.
ComponentVersionDataInformation about a component's version.
ComponentHasVersions
ErrorTypeTitleDetailStatus
CreateComponentResponseInformation about the component.
CreateComponent
ComponentContentFormatThe component's content format.
GetComponent
UpdateComponentResponseInformation about the component.
GetComponentDraft
UpdateComponentDraftResponseInformation about the component draft.
UpdateComponentDraftInformation about the component draft.
GetComponentVersions
CreateComponentVersionResponseInformation about the component version.
CreateComponentVersion
SearchDetectedSecretsRequest
DetectedSecretsQueryRequest
ErrorTypeTitleStatusInstance
ErrorTypeTitleDetailStatusInstance
ErrorTypeTitleDetailStatus
UpdateDetectedSecretResolutionsOkResponse
UpdateSecretResolutionRequest
GetDetectedSecretsLocationsOkResponse
ResourceType
GetSecretTypesOkResponse
GetEnvironmentsOkResponse
GetEnvironmentsInfoInformation about the environment.
ErrorTypeTitleDetailStatusInstance
GetAuditLogEventActionsClientErrorResponse
EnvironmentCreated
CreateEnvironment
AddVariableInformation about the variable.
AddSecretVariableInformation about the variable stored in the Postman Vault. This property only returns when a variable is defined as secret.
EnvironmentVariableSourceInformation about the source of the variable's value.
ErrorNameMessageDetails
GetEnvironmentOkResponse
GetEnvironmentInfoInformation about the environment.
PutEnvironmentOkResponse
ReplaceEnvironmentData
PatchEnvironmentOkResponse
PatchEnvironmentInfoInformation about the environment.
PatchEnvironmentAdd
PatchEnvironmentNameInformation about the environment.
PatchEnvironmentReplace
PatchEnvironmentRemove
PatchEnvironmentBadRequestResponse
EnvironmentDeleted
GetEnvironmentForksOkResponse
EnvironmentForkInfoInformation about the forked environment.
EnvironmentForksMetaThe response's meta information for paginated results.
AscDesc
SortByCreatedAt
CreateApiClientErrorResponse
ErrorTypeTitleDetailStatus
ForkEnvironmentOkResponse
ForkEnvironment
MergeEnvironmentForkOkResponse
MergeEnvironmentFork
PullEnvironmentOkResponse
PullEnvironmentForkChanges
PostmanGroupsInformation
PostmanGroupInformationInformation about the group.
ErrorTypeTitleDetailStatus
ImportOpenApiDefinitionOkResponse
JsonSchema
GenerateCollectionOptionsThe advanced creation options and their values. For more details, see Postman's OpenAPI to Postman Collection Converter OPTIONS documentation. These properties are case-sensitive.
JsonStringified
ImportExportFile
GetAuditLogEventActionsClientErrorResponse
ErrorNameMessageDetails
InvitePartnerResponse
RemovePartnerResponse
InvitePartnersInvite partners to a Partner Workspace.
ManagePartnerWorkspaceInvitesTargetObjectEmailsThe target on which to perform the action.
RemovePartnersThe request body for removing partners from a Partner Workspace.
RemovePartnerFromPartnershipThe request body for removing partners from partnership with a team.
ErrorTypeTitleDetailStatus
GetWorkspacesOkResponse
GetWorkspacesWorkspaceDataInformation about the workspace.
WorkspaceTypeQuery
WorkspacesIncludeQuery
WorkspaceElementTypeQuery
Workspaces400Error1
Workspaces400Error2
GetAuditLogEventActionsClientErrorResponse
ErrorErrorMessage
CreateWorkspaceOkResponse
CreateWorkspace
Forbidden
GetAllWorkspaceRolesOkResponse
WorkspaceRoleDataInformation about the role.
GetWorkspaceOkResponse
GetWorkspaceNotFoundResponse
WorkspaceUpdated
UpdateWorkspaceRequest
WorkspaceDeleted
WorkspaceActivityFeed
GetSpecVersionTagsMeta
ElementType3
TransferWorkspaceElementResponse
TransferWorkspaceElement
GetWorkspaceGlobalVariablesOkResponseInformation about the workspace's global variables.
GlobalVariableInfoInformation about the global variable.
CreateApiClientErrorResponse
GlobalVariablesUpdatedInformation about the workspace's updated global variables.
UpdateGlobalVariables
WorkspaceRolesInformation about the workspace's roles.
WorkspaceRolesData
WorkspaceRolesUpdated
UpdateWorkspaceRoles
PartnerAndPersonalWorkspaceRolesUnsupported
TransferWorkspaceToTeamResponse
TransferWorkspaceToTeamResponseObjectInformation about the workspace transfer.
TransferWorkspaceToTeam
GetWorkspaceUpdates
WorkspaceUpdateDataInformation about the workspace update.
WorkspaceUpdateCreatedByDataInformation about the user that created the workspace update.
WorkspaceUpdateCategoryDataThe update's assigned category.
WorkspaceUpdateRelatedResourcesData
ErrorTypeTitleDetailStatusInstance
WorkspaceUpdatePostPatchResponseData
CreateWorkspaceUpdate
UpdateWorkspaceUpdate
GetAuthenticatedUserOkResponse
TeamUsersInformation
UserInformationInformation about the user.
ErrorTypeTitleDetailStatus
GetMockServers
InternalServerError
MockCreateUpdateResponse
CreateMock
GetMockServer
ErrorNameMessageDetails
UpdateMock
GetAuditLogEventActionsClientErrorResponse
MockDeleted
GetCallLogs
MockSortServedAt
AscDesc
MockPublishedUnpublished
GetMockServerResponsesInformation about the server response.
GetMockServerResponsesNotFoundResponse
CreateMockServerResponseOkResponseInformation about the mock server's response.
CreateMockServerResponse
UpdateMockServerResponse
ServerResponseDeletedInformation about the deleted server response.
GetMonitorsOkResponse
GetAuditLogEventActionsClientErrorResponse
ErrorNameMessageDetails
CreateUpdateMonitorResponse
CreateMonitor
MonitorRetrySettingsInformation about the monitor's retry settings.
MonitorOptionsInformation about the monitor's option settings.
MonitorScheduleInformation about the monitor's schedule.
MonitorDistribution
MonitorNotificationsInformation about the monitor's notification settings.
GetMonitorOkResponse
MonitorLastRunInformation about the monitor's previous run.
MonitorRunStatsInformation about the monitor run's stats.
UpdateMonitor
MonitorDeleted
RunMonitorOkResponse
MonitorRunInformationInformation about the monitor.
MonitorRunExecutions
MonitorRunRequestsInformation about the monitor run's requests.
MonitorRunResponsesInformation about the monitor run's response.
MonitorRunErrors
RunExceeds300Seconds
GetRunnerInstances
RunnerMetaThe response's meta information for paginated results.
RunnerInstanceDataInformation about the runner instance.
ErrorTypeTitleDetailCreatedAt
GetRunnerMetricsThe runner instance's metrics information.
ListPrivateNetworkWorkspacesOkResponse
MetaThe response's non-standard meta information.
ElementTypeQuery
SortCreatedUpdatedAt
AscDesc
ErrorTypeTitleDetailStatus
ElementCreatedInformation about the Private API Network element.
AddWorkspace
AddWorkspaceToPrivateNetworkNotFoundResponse
UpdatePanElementOrFolderRequest
RemoveWorkspaceFromPrivateNetworkOkResponse
GetAuditLogEventActionsClientErrorResponse
ListPrivateNetworkAddRequestsOkResponse
PanRequestElementInformation about the requested element.
PanRequestResponseInformation about the response to the element's request. This object only returns when the request is denied with a message.
PanRequestStatus
RequestApproved
RequestDenied
RespondPanElementAddRequestBody
GenerateOauthTokenResponse
GenerateOauthToken
OauthTokenError
RevokeOauthTokenResponse
RevokeOauthToken
GetPackages
GetSpecVersionTagsMeta
PackageListData
ErrorTypeTitleDetailStatusInstance
CreatePackageResponseInformation about the package.
CreatePackage
UnifiedPackageInformation about the created package and its index script content.
UpdatePackage
GenerateToolResponse
GenerateTool
GenerateToolBadRequestResponse
ErrorTypeTitleDetailStatus
GetPullRequestOkResponse
ErrorTypeTitleDetailStatus
PullRequestUpdated
UpdatePullRequest
ReviewPullRequestOkResponse
ReviewPullRequest
SchemaSecurityValidationOkResponse
SchemaValidationRequestBody
SchemaSecurityValidationBadRequestResponse
GetScimGroupResourcesOkResponse
ScimGroupResourceThe SCIM group resource object.
ScimErrorSchemasDetailStatus
ScimGroupCreated
CreateScimGroup
ScimErrorSchemasScimTypeDetailStatus
GetScimGroupResourceOkResponse
ScimGroupUpdated
UpdateScimGroup
GetScimResourceTypes
GetScimServiceProviderConfigOkResponseInformation about Postman's SCIM API configurations and supported operations.
ScimUsers
ResourcesThe SCIM user resource object.
ScimUserCreated
CreateScimUser
GetScimUserResourceOkResponse
UpdateScimUserRequest
SdkList
SdkInformation about the generated SDK.
SdkLanguageThe target output language for the generated SDK.
SdkSourceThe collection or specification that the SDK is generated from.
ElementType2The type of Postman element.
SdkBuildStatusThe SDK's build lifecycle: - queued — Accepted but not yet started. - in_progress — The SDK generation is running and in progress. - succeeded — The archive is built and available for download. - failed — The SDK generation failed. For information, check the error response.
SdkErrorBuildStatusFailureInformation about the SDK build's status when buildStatus is failed.
SimpleSdkGitConnectionPullRequest
SdkGitConnectionPrStatusThe lifecycle status of a pull request.
MetaNextCursorTotalThe response's meta information for paginated results.
SdkError
ErrorTypeTitleDetailStatus
CreateSdkNote: - Only the object passed in the request body that matches the value in the language property gets read, and all other objects are ignored. - The language option object is optional. When the language identifier is omitted, it's derived from the source element name and its workspace.
SdkAuthorDataInformation about the author of the generated SDK.
SdkRetryOptionsRetry behavior baked into the generated SDK's HTTP client. A power-user option; sensible defaults apply for any field left unset.
TypescriptOptionsTypeScript-specific SDK generation options.
PythonOptionsPython-specific SDK generation options.
GoOptionsGo-specific SDK generation options.
JavaOptionsJava-specific SDK generation options.
CsharpOptionsC#-specific SDK generation options.
RubyOptionsRuby-specific generation options.
PhpOptionsPHP-specific SDK generation options.
KotlinOptionsKotlin-specific SDK generation options.
RustOptionsRust-specific SDK generation options.
CliOptionsCLI-specific SDK generation options.
SdkDownload
SdkGitConnectionList
SdkGitConnectionInformation about the SDK's Git connection to a Postman element.
SdkGitConnectionStatusThe lifecycle status of the Git connection: - active — The connection is live and all opened pull requests ship SDK updates into the repository. - disconnected — The connection was explicitly disconnected by the owner, and no pull requests can be opened. The historical record is preserved. - inaccessible — Access to the repository was revoked or its no longer reachable.
CreateSdkGitConnection
UpdateSdkGitConnection
SdkGitConnectionPullRequestList
SdkGitConnectionPullRequestInformation about a pull request that shipped the SDK update.
SearchPostmanResourcesResponse
SearchMetaDataPagination metadata for the search results.
SearchPostmanResourcesResponseDataInformation about the Postman resource.
SearchResourceTeamDataInformation about the team associated with the resource. This returns a null value for the user publisher type.
SearchRequestsCollectionDataInformation about the collection containing the resource. Returns only for requests.
SearchResourceWorkspacesDataInformation about the workspace containing the resource.
SearchResourceOrganizationDataInformation about the organization that published the resource. This returns a null value for the user publisher type.
SearchResourceLinksDataInformation about the resource's hypermedia links.
SearchResourceWebDataThe link to view the resource in the Postman web app.
SearchResourceLinksSelfDataThe link to the resource through the Postman API.
SearchPostmanResources
SearchFiltersA single filter condition.
SearchFilterPrivateApiNetworkFilters by private API network membership. Supported for all element types.
SearchFilterPublisherIsVerifiedFilters by publisher verification status. Supported for all element types.
SearchFilterVisibilityFilters by workspace visibility. Supported for all element types. One of: - internal — Only visible to the organization's team members. - public — Visible to all Postman users. - partner — Visible to assigned external partner users.
SearchFilterWorkspaceIdFilters by workspace ID. Supported for all element types.
SearchFilterCollectionIdFilters by collection ID. Supported for requests and collections only.
SearchFilterTagsFilters by tags. Supported for workspaces and collections.
SearchFilterRequestHttpMethodFilters by HTTP method (for example, GET or POST). Supported for requests only.
SearchFilterRequestIdFilters by request ID. Supported for requests only.
SearchFilterSpecIdFilters by specification ID. Supported for specs only.
SearchFilterFlowIdFilters by flow ID. Supported for flows only.
SearchFilterWorkspaceDocumentsFilters by workspace document ID. Supported for workspace documents.
SearchFilterEnvironmentIdFilters by environment ID. Supported for environments only.
SearchFilterCreatedByFilters by the resource creator's user ID. Supported for all element types.
SearchFilterOrgIdFilters by organization ID. Supported for all element types.
SearchFilterTeamIdFilters by team ID. Supported for all element types.
SearchFilterGitConnectedFilters by Git connection status. Supported for workspaces, collections, requests, environments, specs, flows, and documents.
SearchFilterRequestResourceTypeFilters by resource type variant (for example, http or grpc). Supported for requests only.
ErrorTypeTitleDetailStatus
GenerateServiceAccountTokenResponse
ErrorTypeTitleDetailStatus
ErrorTypeTitleDetailStatusInstance
GetTeams
TeamDataInformation about the team.
GetTeamsMetadataThe response's meta information for paginated results.
TeamsApiErrorSchema
ErrorDetailsAn explanation about the problem.
InvalidEntriesForManageTeamMemberRolesAn explanation about the problem.
ErrorTypeTitleDetailStatusInstance
CreateGetTeamResponse
CreateTeam
TeamsInclude
GetTeamAccessRequests
CreateAccessRequestResponse
TeamsAccessRequestData
CreateAccessRequest
TeamEntityInfo
ApproveDenyAccessRequestResponse
ApproveDenyAccessRequest
ManageTeamMemberRolesResponse
ManageTeamMemberRolesInformation about the bulk add and bulk remove operations.
ManageTeamMemberRolesAddInformation about the bulk add operation.
UsersInfo
TeamRoles
UserGroupsInfo
OrgsInfo
TeamsInfo
ManageTeamMemberRolesRemoveInformation about the bulk remove operation.
RemoveTeamMembers
CreateGetTeamSettingsResponse
UpdateTeamSettings
WebhookCreated
CreateWebhook
ErrorNameMessageDetails

Keywords

typescript

FAQs

Package last updated on 27 Aug 2026

Related posts