MagicPod provides Web APIs for users. For information obtainable through the Web API, please refer to the page below for descriptions of each API.
The following page describes how to manage test results using MagicPod Web API.
How to use MagicPod Web API
1. Obtain an API Token
Log in to MagicPod and copy the API Token from this page.
2. Enter authentication information
Access MagicPod Web API(v1.0), click the 'Authorize' button in the upper right corner, and enter the API Token you copied in step 1 in the format 'Token [API token]'. Note that entering only the API Token without prefixing it with 'Token' and a space will result in an authentication error.
'Authorize' button
API Token input screen
3. Execute the Web API
Web API calls can be made directly on the site. Click on any Web API row, then click the 'Try it out' button. Next, input information into each input field and click the 'Execute' button. Ensure all items marked '* required' in red are filled in.
'Try it out' button
Input field and 'Execute' button
4. Check the execution result
If the execution is successful, an HTTP status code 200 is returned, allowing you to review the information retrieved. A curl command is also generated, which can be used for verification in your local command line tools or for integration into your CI tools.
Example responses
API request limit
MagicPod Web API has an API request limit that is applied to each user indivisually.
- Each user may make up to 100 API requests per minute.
- This limit applies across all API endpoints (=URLs). For example, if you call an API to get a batch run result list 10 times and an API to get an individual batch run result 90 times, that would total 100 requests, and any additional requests will temporarily not be accepted.
These measures are designed to prevent system overload and to ensure fair and stable access for all users. If you reach the limit, an error with status code 429 (too many requests) is returned. The request capacity will reset after a short period, allowing you to continue using the API shortly.