Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum length possible for new API token

Rishi Kumar Gupta Tadikamalla February 16, 2023

Hello team Jira, 

As per this article, new Personal access token length is variable. 
 https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/

 

As you suggested in the above link, my script to pass this token to Jira can be a variable length, but we have to define max characters for that field in our application. 

Can you please help me what could be maximum length possible for this new API Personal access token length ??

1 answer

0 votes
Prince Nyeche
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2023

Given that this token is passed in the HTTP request header and since HTTP doesn't really specify a limit. Then you should go with what most server does in limitation. It typically uses header sizes within 16K more or less. Therefore I would suggest keeping the max character for the API key under 256 characters.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events