I want to use this rest API endpoint to fetch all the projects , I am using this but not getting what to put in api_token . As i am not able to fetch the details fetch('https://your-domain.atlassian.net/rest/api/3/project/{projectIdOrKey}', { method: 'GET', headers: { 'Authorization': `Basic ${Buffer.from( 'email@example.com:<api_token>' ).toString('base64')}`, 'Accept': 'application/json' } })
HI @Ankit Gupta
Welcome to the community.
Here you are able to find the documentation on how to create an API token.
API Token
More information on authentication in the API can be found here
Thanks
It looks like you're new here. Sign in or register to get started.