POST /oauth/token/
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. To refresh the access_token
, you must use the refresh_token
.
Servers
- https://api.pipedrive.com/v1
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/x-www-form-urlencoded" |
Authorization |
String | Yes |
Base 64 encoded string containing the |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
grant_type |
String | No |
Since you are to refresh your access_token, you must use the value "refresh_token" Possible values:
Default value: "refresh_token" |
refresh_token |
String | No |
The refresh token that you received after you exchanged the authorization code |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.