Schema URL

Type: object

Properties

info object required

Detailed description of the info block

5 nested properties
name string required

A collection's friendly name is defined by this field. You would want to set this field to a value that would allow you to easily identify this collection among a bunch of other collections, as such outlining its usage or content.

schema string required

This should ideally hold a link to the Postman schema that is used to validate this collection. E.g: https://schema.getpostman.com/collection/v1

_postman_id string

Every collection is identified by the unique value of this field. The value of this field is usually easiest to generate using a UID generator function. If you already have a collection, it is recommended that you maintain the same id since changing the id usually implies that is a different collection than it was originally. Note: This field exists for compatibility reasons with Collection Format V1.

description object | string | null

A Description can be a raw text, or be an object, which holds the description along with its format.

version object | string

Postman allows you to version your collections as they grow, and this field holds the version number. While optional, it is recommended that you use this field to its fullest extent!

item item | item-group[] required

Items are the basic unit for a Postman collection. You can think of them as corresponding to a single API endpoint. Each Item has one request and may have multiple API responses associated with it.

event event[]

Postman allows you to configure scripts to run when specific events occur. These scripts are stored here, and can be referenced in the collection by their ID.

variable variable[]

Collection variables allow you to define a set of variables, that are a part of the collection, as opposed to environments, which are separate entities. Note: Collection variables must not contain any sensitive information.

auth null | auth
protocolProfileBehavior object

Set of configurations used to alter the usual behavior of sending the request

Definitions

auth-attribute object

Represents an attribute for any authorization method provided by Postman. For example username and password are set as auth attributes for Basic Authentication method.

key string required
value
type string
auth object

Represents authentication helpers provided by Postman

type string required
Values: "apikey" "awsv4" "basic" "bearer" "digest" "edgegrid" "hawk" "noauth" "oauth1" "oauth2" "ntlm"
noauth

The attributes for API Key Authentication.

The attributes for AWS Auth.

The attributes for Basic Authentication.

The helper attributes for Bearer Token Authentication

The attributes for Digest Authentication.

edgegrid auth-attribute[]

The attributes for Akamai EdgeGrid Authentication.

The attributes for Hawk Authentication

The attributes for NTLM Authentication

The attributes for OAuth2

Helper attributes for OAuth2

certificate-list certificate[]

A representation of a list of ssl certificates

certificate object

A representation of an ssl certificate

name string

A name for the certificate for user reference

matches string[]

A list of Url match pattern strings, to identify Urls this certificate can be used for.

key object

An object containing path to file containing private key, on the file system

1 nested properties
src

The path to file containing key for certificate, on the file system

cert object

An object containing path to file certificate, on the file system

1 nested properties
src

The path to file containing key for certificate, on the file system

passphrase string

The passphrase for the certificate

description object | string | null

A Description can be a raw text, or be an object, which holds the description along with its format.

event-list event[]

Postman allows you to configure scripts to run when specific events occur. These scripts are stored here, and can be referenced in the collection by their ID.

event object

Defines a script associated with an associated event name

listen string required

Can be set to test or prerequest for test scripts or pre-request scripts respectively.

id string

A unique identifier for the enclosing event.

script object

A script is a snippet of Javascript code that can be used to to perform setup or teardown operations on a particular response.

5 nested properties
id string

A unique, user defined identifier that can be used to refer to this script from requests.

type string

Type of the script. E.g: 'text/javascript'

exec string[] | string
src object | string

If object, contains the complete broken-down URL for this request. If string, contains the literal request URL.

name string

Script name

disabled boolean

Indicates whether the event is disabled. If absent, the event is assumed to be enabled.

Default: false
header-list header[]

A representation for a list of headers

header object

Represents a single HTTP Header

key string required

This holds the LHS of the HTTP Header, e.g Content-Type or X-Custom-Header

value string required

The value (or the RHS) of the Header is stored in this field.

disabled boolean

If set to true, the current header will not be sent with requests.

Default: false
description object | string | null

A Description can be a raw text, or be an object, which holds the description along with its format.

info object

Detailed description of the info block

name string required

A collection's friendly name is defined by this field. You would want to set this field to a value that would allow you to easily identify this collection among a bunch of other collections, as such outlining its usage or content.

schema string required

This should ideally hold a link to the Postman schema that is used to validate this collection. E.g: https://schema.getpostman.com/collection/v1

_postman_id string

Every collection is identified by the unique value of this field. The value of this field is usually easiest to generate using a UID generator function. If you already have a collection, it is recommended that you maintain the same id since changing the id usually implies that is a different collection than it was originally. Note: This field exists for compatibility reasons with Collection Format V1.

description object | string | null

A Description can be a raw text, or be an object, which holds the description along with its format.

version object | string

Postman allows you to version your collections as they grow, and this field holds the version number. While optional, it is recommended that you use this field to its fullest extent!

item-group object

One of the primary goals of Postman is to organize the development of APIs. To this end, it is necessary to be able to group requests together. This can be achived using 'Folders'. A folder just is an ordered set of requests.

item item | item-group[] required

Items are entities which contain an actual HTTP request, and sample responses attached to it. Folders may contain many items.

name string

A folder's friendly name is defined by this field. You would want to set this field to a value that would allow you to easily identify this folder.

description object | string | null

A Description can be a raw text, or be an object, which holds the description along with its format.

variable variable[]

Collection variables allow you to define a set of variables, that are a part of the collection, as opposed to environments, which are separate entities. Note: Collection variables must not contain any sensitive information.

event event[]

Postman allows you to configure scripts to run when specific events occur. These scripts are stored here, and can be referenced in the collection by their ID.

auth null | auth
protocolProfileBehavior object

Set of configurations used to alter the usual behavior of sending the request

item object

Items are entities which contain an actual HTTP request, and sample responses attached to it.

request object | string required

A request represents an HTTP request. If a string, the string is assumed to be the request URL and the method is assumed to be 'GET'.

id string

A unique ID that is used to identify collections internally

name string

A human readable identifier for the current item.

description object | string | null

A Description can be a raw text, or be an object, which holds the description along with its format.

variable variable[]

Collection variables allow you to define a set of variables, that are a part of the collection, as opposed to environments, which are separate entities. Note: Collection variables must not contain any sensitive information.

event event[]

Postman allows you to configure scripts to run when specific events occur. These scripts are stored here, and can be referenced in the collection by their ID.

response response[]
protocolProfileBehavior object

Set of configurations used to alter the usual behavior of sending the request

protocol-profile-behavior object

Set of configurations used to alter the usual behavior of sending the request

proxy-config object

Using the Proxy, you can configure your custom proxy into the postman for particular url match

match string

The Url match for which the proxy config is defined

Default: "http+https://*/*"
host string

The proxy server host

port integer

The proxy server port

Default: 8080
min=0
tunnel boolean

The tunneling details for the proxy config

Default: false
disabled boolean

When set to true, ignores this proxy configuration entity

Default: false
request object | string

A request represents an HTTP request. If a string, the string is assumed to be the request URL and the method is assumed to be 'GET'.

response object

A response represents an HTTP response.

id string

A unique, user defined identifier that can be used to refer to this response from requests.

originalRequest object | string

A request represents an HTTP request. If a string, the string is assumed to be the request URL and the method is assumed to be 'GET'.

responseTime null | string | number

The time taken by the request to complete. If a number, the unit is milliseconds. If the response is manually created, this can be set to null.

timings object | null

Set of timing information related to request and response in milliseconds

header header | string[] | string | null
cookie cookie[]
body null | string

The raw text of the response.

status string

The response status, e.g: '200 OK'

code integer

The numerical response code, example: 200, 201, 404, etc.

script object

A script is a snippet of Javascript code that can be used to to perform setup or teardown operations on a particular response.

id string

A unique, user defined identifier that can be used to refer to this script from requests.

type string

Type of the script. E.g: 'text/javascript'

exec string[] | string
src object | string

If object, contains the complete broken-down URL for this request. If string, contains the literal request URL.

name string

Script name

url object | string

If object, contains the complete broken-down URL for this request. If string, contains the literal request URL.

variable-list variable[]

Collection variables allow you to define a set of variables, that are a part of the collection, as opposed to environments, which are separate entities. Note: Collection variables must not contain any sensitive information.

variable object

Using variables in your Postman requests eliminates the need to duplicate requests, which can save a lot of time. Variables can be defined, and referenced to from any part of a request.

id string

A variable ID is a unique user-defined value that identifies the variable within a collection. In traditional terms, this would be a variable name.

key string

A variable key is a human friendly value that identifies the variable within a collection. In traditional terms, this would be a variable name.

value

The value that a variable holds in this collection. Ultimately, the variables will be replaced by this value, when say running a set of requests from a collection

type string

A variable may have multiple types. This field specifies the type of the variable.

Values: "string" "boolean" "any" "number"
name string

Variable name

description object | string | null

A Description can be a raw text, or be an object, which holds the description along with its format.

system boolean

When set to true, indicates that this variable has been set by Postman

Default: false
disabled boolean
Default: false
version object | string

Postman allows you to version your collections as they grow, and this field holds the version number. While optional, it is recommended that you use this field to its fullest extent!