Prisma Cloud requires an API access key to enable programmatic access to the REST API. By default, only the System Admin has API access and can enable API access for other administrators. If you are not the System Admin, request API access from that person.
Settings > Access Keys+ > Add New to create an access key. This creates an Access Key ID and Secret Key. Be sure to record it.
For details, see Create and Manage Access Keys.
Use the proper base URI for all your API calls.
Obtain a JWT that you will use to authenticate subsequent API calls. Using
api.prismacloud.ioas the base URI:
x-redlock-authHTTP Header to present the JWT on the API request.
Content-Typeyou usually use
application/jsonbut check the documentation for each endpoint to be sure.
To refresh your JWT:
Example API call with the JWT: