apps/docs/content/docs/management-api/api-clients.mdx
This guide shows you how to configure popular API clients to work with the Management API using OAuth 2.0 authentication.
Postman is a popular API client with testing, collaboration, and automation features for working with REST APIs.
Before you begin, make sure you have:
First, you'll need to register an OAuth2 application in Prisma Console:
https://oauth.pstmn.io/v1/callback:::note
The redirect URI https://oauth.pstmn.io/v1/callback is Postman's default callback URL when using the "Authorize using browser" option.
:::
Now you'll set up authentication in Postman:
https://api.prisma.io/v1/projects| Parameter | Value |
|---|---|
| Token Name | Management API Token |
| Grant Type | Authorization Code |
| Callback URL | https://oauth.pstmn.io/v1/callback |
| Authorize in Browser | true (checked) |
| Auth URL | https://auth.prisma.io/authorize |
| Access Token URL | https://auth.prisma.io/token |
| Client ID | your-client-id |
| Client Secret | your-client-secret |
| Scope | workspace:admin |
With authentication configured, you can now create a project:
{
"name": "My Postman Database",
"region": "us-east-1"
}
You should receive a successful response confirming your project creation.
Insomnia is an open-source API client with a clean interface for testing and debugging HTTP requests.
Before you begin, make sure you have:
First, you'll need to register an OAuth2 application in Prisma Console:
https://app.insomnia.rest/oauth/redirect:::note
Insomnia uses https://app.insomnia.rest/oauth/redirect as the default OAuth callback URL for local authentication flows.
:::
Now you'll set up authentication in Insomnia:
https://api.prisma.io/v1/projects| Parameter | Value |
|---|---|
| Grant Type | Authorization Code |
| Authorization URL | https://auth.prisma.io/authorize |
| Access Token URL | https://auth.prisma.io/token |
| Client ID | your-client-id |
| Client Secret | your-client-secret |
| Redirect URL | https://app.insomnia.rest/oauth/redirect |
| Scope (Under Advanced Options) | workspace:admin |
With authentication configured, you can now create a project:
{
"name": "My Insomnia Database",
"region": "us-east-1"
}
You should receive a successful response confirming your project creation.
Yaak is a lightweight, open-source, and offline API client that works with Git.
Before you begin, make sure you have:
First, you'll need to register an OAuth2 application in Prisma Console:
https://devnull.yaak.app/callback:::note The redirect URI can be any valid URL. Yaak intercepts the OAuth callback regardless of the redirect URI, as long as it matches what's registered with the provider. :::
Now you'll set up authentication in Yaak:
https://api.prisma.io/v1/projects| Parameter | Value |
|---|---|
| Grant Type | Authorization Code |
| Authorization URL | https://auth.prisma.io/authorize |
| Token URL | https://auth.prisma.io/token |
| Client ID | your-client-id |
| Client Secret | your-client-secret |
| Redirect URL | https://devnull.yaak.app/callback |
| Scope | workspace:admin |
With authentication configured, you can now create a project:
{
"name": "My Yaak Database",
"region": "us-east-1"
}
You should receive a successful response confirming your project creation.