provider Oauth POST
/oauth/token @utdk/pipedrive
/oauth/token Getting the 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. Using an access token, you can access the user's data through the API.
- Authorization header required
- Base 64 encoded string containing the `client_id` and `client_secret` values. The header value should be `Basic <base64(client_id:client_secret)>`.
- string
Try it
Authentication
Configure credentials for Pipedrive API v1
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import pipedrive from '@utdk/pipedrive';
await pipedrive.getTokens({
"grant_type": "authorization_code"
})