Obtain an access token
  • 04 Jan 2024
  • 1 Minute to read
  • Contributors

    Obtain an access token


      Article Summary

      Post
      /v1/auth/authorize

      Generate a temporary authorization token to access the Perimeter 81 API. This token is valid for 60 minutes and must be used in the Authorization header for subsequent API calls to /v2 endpoints.

      Security
      Http
      Type bearer
      Body parameters
      object
      grantType
      string

      Authorize request type, set to 'api_key'.

      Exampleapi_key
      apiKey
      string

      The API key generated from the Admin console.

      Responses
      200

      Successful response with access token.

      Expand All
      object
      data
      object
      tokenType
      string
      Examplebearer
      accessToken
      string
      accessTokenExpire
      string (date-time)

      Was this article helpful?