Rest API Authentication
In this documentation, you will understand:
Cloud
Requests made to AIO Tests REST APIs must be authenticated with an Access Token. To use the API Access Token, all calls should have the Authorization header set as
AioAuth NzsdfsfJjZDctMasdfasfsafasfasdfsadfUtODI4MWIyZ12asfmYzMz
The prefix of AioAuth to the API Key is necessary.
Postman Example (AioAuth)
Once the AIO Access token is generated it can used to make API calls either via the Authorization tab or Headers tab in the Request as shown below.
Authorization Tab:
Set the Type as API Key and set the Key and Value.
Headers Tab:
Add Authorization header with value as “AioAuth <<aio_api_token_value>>“
Server/Data Center
Requests made to AIO Tests REST APIs must be authenticated via Basic authentication or PAT authentication.
Postman Example (Basic Authentication)
You can use Jira’s username and password to make API calls via Basic Authorization either via the Authorization tab or Headers tab in the Request as shown below.
Authorization Tab:
Select the type as Basic Auth. Input the username and password to proceed.
Headers Tab:
Add Authorization header with the value “Basic <<base64_encoded_value_of_username:password>>“
Postman Example (PAT Authentication)
Once the PAT token is generated it can used to make API calls either via the Authorization tab or Headers tab in the Request as shown below.
Authorization Tab:
Select the type as Bearer Token and input the PAT value in Token input.
Headers Tab:
Add the Authorization header and the value as “Bearer <<pat_token_value>>“
For further queries and suggestions, please feel free to reach out to our customer support service via help@aiotests.com.