How to create API Token for Atlassian account to connect Jira Cloud REST API

If you wish to connect to the Jira Cloud instance remotely, say from an external application, you can achieve this by using basic authentication and Jira REST API's.
Basic auth uses API Tokens to authenticate the user without using an actual password. This is more secure as you do not use the actual password and can revoke the token anytime.

Steps to generate Atlassian account API Token

REST clients can authenticate themselves using basic authentication with an Atlassian account email address and API token. You can only create a maximum of 25 tokens and revoke when required.

  1. From your Jira cloud instance, click "Your profile and settings" from the top-right screen option.
  2. Click Profile from the options.
  3. Click Manage your account.
  4. Click Security.
  5. Under API token section, click 'Create and manage API tokens'.
  6. Click 'Create API token' to create a new token to popup screen.
  7. Provide a short and memorable label and click Create.
  8. Atlassian Jira API token
    Atlassian Jira API token
  9. The API token is presented on the next screen so you can copy and preserve it. Make sure you copy your new API token. You won’t be able to see this token again.
  10. API Token
    API Token
  11. Click Close.
  12. Note the token for further authentication.

You can now supply the Atlassian email address and API token with authentication headers and connect to Jira using REST APIs, say to create an issue.

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
πŸŽ‰ We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -