...
The response should contain:
access_token
: the new access tokenexpires_in
: the expiration delay of the new access token (in seconds)refresh_token
: the new refresh tokenrefresh_expires_in
: the expiration delay of the new refresh token (in seconds)
If the refresh token has expired, you need to request a new access token using your credentials again.
...
Make calls to the REST APIs
Choose the endpoint you want to use.
Add a
X-Base-URL
header to your requests containing the base URL of your Atlassian site (e.g.https://example.atlassian.net/wiki
for a Confluence instance,https://example.atlassian.net
for a Jira instance).Add an
Authorization
header to your requests containing the access token prefixed withBearer
(e.g.Bearer YOUR_ACCESS_TOKEN
).Send the request:
...