Methods

  • post - Obtain an access token

Resource

{
    "access_token": "string",
    "expires_in": "int32",
    "refresh_token": "string",
    "token_type": "string"
}

Properties

Name Type Description Additional
access_token string

The token that can be sent to a Companies House API.

expires_in int32

Time in seconds until token expires.

refresh_token string

The token to be used to refresh the access token. Only returned if the grant_type is authorization_code.

Optional
token_type string

The type of token.

Possible values are:

  • Bearer