Skip to main content

Get User Authentication Access Token

x-prisma-cloud-target-env: {"permission":"none","saas":true,"self-hosted":true}
x-public: true

Retrieves an access token using your username and password. By default, access tokens are valid for 30 minutes. You can set the validity period in Console under Manage > Authentication > Logon.

Note: The username and password values are case-sensitive.

cURL Request

Refer to the following example cURL command:

$ curl -k \
-H "Content-Type: application/json" \
-d \
}' \


Refer to the following successful example response that returns the access token for use in other API endpoints:

Request Body
  • password string

    Password is the password used for authentication.

  • token string

    Token is the Prisma JWT token used for authentication.

  • username string

    Username is the username used for authentication.


AuthenticationResponse returns the result of calling the authentication endpoint

  • token string

    Token is the new JWT token.