How to generate JWT TOKEN from Postman

Originally posted by kbathwal on January 19, 2023

Hi Doug & Team,
There seems to be some confusion. Kindly help me out here as soon as possible.

My issue is How to generate JWT token from Postman itself. I have SecretKey, access Key, AccoutnId, Zephyr base URL also. Please just guide me how to use these details to generate JWT token from Postman.

I am not talking about usage of the JWT TOKEN. I am asking about the process of generating JWT token via Postman.

Thank you

Originally posted by MartiLobos on January 19, 2023

Hi,

It’s not possible to do that via postman, you’ll need to follow the pre-requisites outlined here https://support.smartbear.com/zephyr-squad-cloud/docs/api/jwt-token.html

once you have the token you can start using with Postman.

Originally posted by FernandoBooster on February 22, 2023

Hi I was able to generate a JWT token in postman.
You want to create a POST request to this URL https://prod-vortexapi.zephyr4jiracloud.com/api/v1/jwt/generate

Add Key value for Header

Content-Type = application/json

For Body select raw input

{
"accessKey":"XXXXXXXXXXX",
"secretKey":"XXXXXXXXXX",
"accountId":"XXXXXXXXXXXX"
}

Originally posted by SuW on June 22, 2023

Hi Fernando.

This is the single most useful thing I’ve found in ages. I only use Postman and I’m not a developer so I had absolutely no idea how to generate a JWT using all the other methods described. This is really helpful. Thank you.

Kind regards

Su

Originally posted by suganyaincture on March 21, 2024

Please let me know, from where we get access key, secretkey and account id?

Originally posted by suganyaincture on March 21, 2024

From where I can get SecretKey, access Key, AccoutnId?

Originally posted by kbathwal on July 10, 2024

suganyainctureyou can find those inside the Zephyr settings tab in Jira.