Forums

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

Jira Zephyr Base url to access with API

shyamalshivam
September 24, 2025

Hi 
In jira cloud account, I have added app Zephyr and added some test cases, I want to access those testcases from Java program. I have created Jira API token as well as Zephyr API access token but i am not able to find correct base url to access testcases 

I have tried below url 

https://XXXXXXX.atlassian.net/rest/zephyr/1.0/testcases with Jira basic auth of email and jira api token but 404 error 

https://api.zephyrscale.smartbear.com/v2/testcases?projectKey=XXXX&maxResults=500&startAt=5500 with authorization header set as Bearer Jwt token but it says unknown token 

can someone guide me latest api base url for accessing testcases and cycle and result etc

i have applied zephyr standard edition 

2 answers

1 vote
Matteo Vecchiato
Community Champion
September 24, 2025

Hi @shyamalshivam ,

Welcome to Atlassian community and thank you for your question.

The correct API is the second one, it has this format: https://api.zephyrscale.smartbear.com/v2/{endpoint}

You can create the required token from a user account in Jira, following this tutorial: https://support.smartbear.com/zephyr/docs/en/rest-api/api-access-tokens-management.html 

 

You can found the official api document page here: https://support.smartbear.com/zephyr-scale-cloud/api-docs/ 

Kind regards 

shyamalshivam
September 25, 2025

I have tried this url 
https://api.zephyrscale.smartbear.com/v2/testcases

Passing token being created with tutorial: https://support.smartbear.com/zephyr/docs/en/rest-api/api-access-tokens-management.html 

But it gives me 401 Unauthorized - " unknown Token "

shyamalshivam
September 25, 2025

Hi @Matteo Vecchiato  -- do you know any more specific needs to be set in request header when i am calling api from java / nodejs program ?

 

0 votes
Winston_Dang
March 2, 2026

Are using Zephyr Scale (cloud) version as an addon for Atlassian Jira?  I just coded the REST api in java for test cases.

1) Login to Jira and go to the backlog page

2) On the Left menu click on apps > Zephyr Scale.  A Zephyr scale tab should appear.

3) Click on your profile (on the top right) and click on Zephyr API Key.  Note that the Zephyr api link does not appear under profile unless you make the Zephyr scale tab appear first.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events