post https://api.pandadoc.com/oauth2/access_token
Requests to PandaDoc API with the returned access_token
can now be made on the user's behalf. Include access_token
in every request header as follows: Authorization: Bearer {{access_token}}
. Each token comes with an expiration date (in seconds).
Invalid Grant?
If you receive an
invalid grant
response it is likely because you used the samecode
more than once from the Authorize a PandaDoc User step above. Thecode
parameter is generated for one-time use. A newcode
value must be generated if you wish to change API users, permissions, or simply generate a newcode
value for the same PandaDoc user.
expires_in
expires_in
is based in seconds. Currently, a token expires in 31535999 seconds = 1 year.