Pipedrive: 1–3 hours of work, no review wait.
Pipedrive uses a straightforward OAuth 2.0 implementation with self-serve app registration via the Developer Hub, requiring no mandatory provider approval queue for standard external connections.c1c2c3
Most likely to stop you
Configuring the correct redirect URI and required access scopes (such as Deals full access) in the Developer Hub before testing the auth flow.
- Sheet
- Pipedrive OAuth app
- Difficulty
- 2 of 5
- Facts checked
- 18 of 22
- Agent can do
- 3 of 6 steps
- Checked
- Agent only
- Scale
- Self-serve + app config
Written live by an agent. It tests endpoints itself; timelines and costs come from what it read. Check the evidence before you commit to a launch date.
Schedule
- Agent can do this (3)
- You (3)
- Provider wait (0)
Create the app
- 1Create a Pipedrive Developer Sandbox AccountYou5 min
Sign up for a developer sandbox account and select 'I'm building an app that integrates with Pipedrive' to get access to the Developer Hub.c1c2
developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
- 2Access Developer Hub and Create AppYou5 min
Navigate to the Profile icon in the top right corner > Tools and Integrations > Developer Hub to create a new app and choose whether it's public or private.c3c4
developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
- 3Configure App Credentials and Redirect URIAgent can do this10 min
Draft and configure the required app metadata, setting the callback URL path (e.g., /auth/pipedrive/callback) and necessary access scopes in the Developer Hub.c5c6c7
developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
Test with your own account
- 4Integrate OAuth Boilerplate and Environment VariablesAgent can do this15 min
Copy the generated client ID and client secret into your app's environment configuration (.env) and add the server-side OAuth handling logic.c8c9
developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-appdevelopers.pipedrive.com/docs/api/v1/Oauth
- 5Run Test OAuth Flow and Token ExchangeAgent can do this15 min
Initiate authorization by directing users to https://oauth.pipedrive.com/oauth/authorize, then exchange the authorization code via POST to https://oauth.pipedrive.com/oauth/token using Basic authentication.c10c11c12
Go to production
- 6Enable Public Distribution or Marketplace IntentYou5 min
If building a public app, select 'Yes' for Intent to Publish in the Marketplace during app creation or configuration.c4c13
developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
Optional listings
Not needed for your users to connect through OAuth. Worth it only for the reason given.
| Listing | Wait | Why you might want it |
|---|---|---|
| Pipedrive Marketplace Public Listing | 7–21 days | Required if you want your app to be publicly discoverable and installable by any Pipedrive user from the official Marketplace rather than restricted custom integrations.c4c13 |
Limits after users connect
| Limit | What it means for your agent |
|---|---|
| Access Token Lifetime (expires_in) | Access tokens expire after 3599 seconds (approx. 1 hour), requiring the AI agent or integration backend to use the refresh_token to maintain continuous API access without re-prompting the user.c20 |
Requirements
| Requirement | Needed for | Details |
|---|---|---|
| developer account | test | A Pipedrive developer sandbox account is required to access the Developer Hub.c1c2 |
| privacy policy | production | A privacy policy URL is typically expected for apps handling user data, though self-serve custom integrations bypass marketplace review. |
Scopes that change your path
| Scope | Triggers review | Notes |
|---|---|---|
base | No | Default base scope assigned to basic authentication flows.c11 |
Deals - full access | No | Grants read and modify access to deals for handling CRM operations.c7 |
admin | No | Grants high-level administrative permissions, including webhook endpoints.c14 |
webhooks:read | No | Allows apps to list webhooks associated with the user.c15 |
webhooks:full | No | Allows apps to create, fetch, and delete webhooks on users' behalf.c16 |
When you get stuck
| What you see | Why | How to unblock |
|---|---|---|
| Invalid grant: authorization code is invalid | The authorization code has expired, already been used, or the redirect URI does not exactly match what was registered in the Developer Hub. | Ensure the redirect URI string matches byte-for-byte and exchange codes immediately upon receipt.c17 |
| 'App Not Found' Error During OAuth Authorisation | Using a client ID that does not exist or attempting to authorize a private/test app incorrectly across different environments. | Verify the correct Client ID is populated in environment variables and associated with the correct Developer Hub project.c18 |
| 401 Unauthorized or invalid access token | The access token has expired after its lifetime or was not correctly passed in the Bearer header. | Implement token refresh logic using the refresh_token endpoint via POST to https://oauth.pipedrive.com/oauth/token.c19c20 |
What we couldn't determine
- Exact marketplace review lead times and formal security questionnaire requirements for public marketplace publication were not fully detailed in the developer docs.
Evidence
Code assigns every label, not the model. Tested means we ran a probe or setup attempt. Official source means the quote appears word for word on a fetched page on the provider's domain.
Show all 22 facts and where each came from
Before we venture on a journey to build our first Pipedrive App, make sure you have a sandbox account
“Before we venture on a journey to build our first Pipedrive App, make sure you have a sandbox account”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
When you request a Developer sandbox account, make sure you select the option 'I'm building an app that integrates with Pipedrive' as this option gives you access to the Developer Hub.
“When you request a Developer sandbox account, make sure you select the option "I'm building an app that integrates with Pipedrive" as this option gives you access to the Developer Hub.”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
You can create a Pipedrive OAuth App from the Developer Hub. You can access the Developer Hub via the following steps: Clicking on Profile icon in the top right corner > Tools and Integrations > Developer Hub from the Tools section.
“You can create a Pipedrive OAuth App from the Developer Hub. You can access the Developer Hub via the following steps: Clicking on Profile icon in the top right corner > Tools and Integrations > Developer Hub from the Tools section.”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
If you are building a public app that will be available in the Pipedrive Marketplace, select Yes in the Intent to Publish in the Pipedrive Marketplace dialog that appears right after clicking on Create New App button.
“If you are building a public app that will be available in the Pipedrive Marketplace, select Yes in the Intent to Publish in the Pipedrive Marketplace dialog that appears right after clicking on Create New App button.”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
For a test app, all you need to provide is the Name and callback URL.
“For a test app, all you need to provide is the Name and callback URL.”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
In Developer Hub, add the name of your app. Scroll down to the "OAuth & Access scopes" section and insert the entire callback URL from above in the "Callback URL" field.
“In Developer Hub, add the name of your app. Scroll down to the "OAuth & Access scopes" section and insert the entire callback URL from above in the "Callback URL" field.”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
Select "Deals" and "full access" in the "Access scopes" section.
Quoted text was not found on the cited page.
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
Once you have successfully created the app, it would generate a Client ID and Client Secret that you need to copy and paste in the .env file of our Glitch app.
“Once you have successfully created the app, it would generate a Client ID and Client Secret that you need to copy and paste in the .env file of our Glitch app.”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
By doing so, we have defined the endpoints & logic required for deal retrieval & handling the OAuth 2.0 flow.
“By doing so, we have defined the endpoints & logic required for deal retrieval & handling the OAuth 2.0 flow”
https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app
Authorize a user by redirecting them to the Pipedrive OAuth authorization page and request their permissions to act on their behalf.
“Authorize a user by redirecting them to the Pipedrive OAuth authorization page and request their permissions to act on their behalf.”
After the customer has confirmed the app installation, you will need to exchange the authorization_code to a pair of access and refresh tokens.
“After the customer has confirmed the app installation, you will need to exchange the authorization_code to a pair of access and refresh tokens.”
Base 64 encoded string containing the client_id and client_secret values. The header value should be Basic <base64(client_id:client_secret)>.
“Base 64 encoded string containing the client_id and client_secret values. The header value should be Basic <base64(client_id:client_secret)> .”
Using OAuth 2.0 is necessary for developing apps that are available in the Pipedrive Marketplace.
“Using OAuth 2.0 is necessary for developing apps that are available in the Pipedrive Marketplace.”
Please note that webhook-specific endpoints are still available under the admin scope.
“Please note that webhook-specific endpoints are still available under the admin scope.”
https://developers.pipedrive.com/changelog/post/introducing-new-oauth-scopes-for-webhooks
When the webhooks:read scope is selected, an app can access the endpoint below, allowing it to list webhooks associated with its user.
“When the webhooks:read scope is selected, an app can access the endpoint below, allowing it to list webhooks associated with its user.”
https://developers.pipedrive.com/changelog/post/introducing-new-oauth-scopes-for-webhooks
When the webhooks:full scope is selected, an app can access the endpoints below, allowing it to list webhooks associated with its user, create and delete webhooks for them.
“When the webhooks:full scope is selected, an app can access the endpoints below, allowing it to list webhooks associated with its user, create and delete webhooks for them.”
https://developers.pipedrive.com/changelog/post/introducing-new-oauth-scopes-for-webhooks
pipedrive.exceptions.BadRequestError: invalid_grant
“pipedrive.exceptions.BadRequestError: invalid_grant”
'App Not Found' Error During OAuth Authorisation for Public App in Sandbox Environment
“"App Not Found" Error During OAuth Authorisation for Public App in Sandbox Environment”
Pipedrive Access Token invalid even if it's not expired
“Pipedrive Access Token invalid even if it's not expired”
The access_token has a lifetime. After a period of time, which was returned to you in expires_in JSON property, the access_token will be invalid, and you can no longer use it to get data from our API.
“The access_token has a lifetime. After a period of time, which was returned to you in expires_in JSON property, the access_token will be invalid, and you can no longer use it to get data from our API.”
Discovery document found at https://oauth.pipedrive.com/.well-known/oauth-authorization-server: authorization endpoint https://oauth.pipedrive.com/oauth/authorize, token endpoint https://oauth.pipedrive.com/oauth/token, PKCE methods S256/plain.
Fetched OAuth discovery document, 2026-11-01 14:41 UTC
GET https://oauth.pipedrive.com/.well-known/oauth-authorization-server → HTTP 200
{
"issuer": "https://oauth.pipedrive.com",
"authorization_endpoint": "https://oauth.pipedrive.com/oauth/authorize",
"token_endpoint": "https://oauth.pipedrive.com/oauth/token",
"scopes_supported": [
"activities:full",
"admin",
"base",
"contact-fields:full",
"contacts:full",
"deal-fields:full",
"deals:full",
"leads:full",
"mail-sending:full",
"mail:full",
"product-fields:full",
"products:full",
"project-fields:full",
"projects:full",
"search:read",
"users:read"
],
"code_challenge_methods_supported": [
"S256",
"plain"
],
"grant_types_supported": [
"authorization_code",
"refresh_token"
]
}https://oauth.pipedrive.com/.well-known/oauth-authorization-server
Authorization endpoint https://oauth.pipedrive.com/oauth/authorize is live; an unknown client_id was redirected (HTTP 302) to https://oauth.pipedrive.com/auth/login?return_url=https%3A%2F%2Foauth.pipedrive.com%2Foauth%2Fauthorize%3Fclient_id%3Doa — the client is not validated before that step.
Sent authorization request with an unknown client_id, 2026-11-01 14:41 UTC
GET https://oauth.pipedrive.com/oauth/authorize?client_id=oauthready-probe-invalid-client&response_type=code&redirect_uri=https%3A%2F%2Fexample.com%2Fcallback&state=probe&scope=openid (no redirects followed) → HTTP 302 Location: https://oauth.pipedrive.com/auth/login?return_url=https%3A%2F%2Foauth.pipedrive.com%2Foauth%2Fauthorize%3Fclient_id%3Doauthready-probe-invalid-client%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fexample.com%252Fcallback%26state%3Dprobe%26scope%3Dopenid Body excerpt: Barista -> company domain needed, re-directing the user to /auth/login (HTTP STATUS 302)
Pages the agent read (6)
- https://developers.pipedrive.com/docs/api/v1/Oauth (official)
- https://developers.pipedrive.com/tutorials/build-your-first-pipedrive-hello-world-app (official)
- https://developers.pipedrive.com/changelog/post/introducing-new-oauth-scopes-for-webhooks (official)
- https://devcommunity.pipedrive.com/t/identify-auth-code-with-parther-client-id/6877 (community)
- https://devcommunity.pipedrive.com/tag/oauth/1 (community)
- https://www.pipedrive.com/en/marketplace (official)