The Automation REST API can be invoked from two base paths:
https://api.atlassian.com/automation/public/{product}/{cloudid}
https://{sitename}/gateway/api/automation/public/{product}/{cloudid}
Where:
{product}
is the name of the product the API is being invoked on e.g. jira
, confluence
{cloudid}
is the cloud ID of the site the API is being invoked on{sitename}
is the site domain the API is being invoked on e.g. mysite.atlassian.net
The main difference between the two base paths is that api.atlassian.com
will only accept API tokens, while the {sitename}/gateway/api
variant can also be invoked from a browser using session cookie authentication.
If you don't know the cloudid
for your site you can find it via https://{sitename}/_edge/tenant_info
Rate this page: