Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Web Methods JWT API
version: '11.0'
description: 'Operations tagged Jwt across 2 of this provider''s published API definitions: apigateway-PublicServices.json, web-methods-api-gateway-publicservices-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/pub/apigateway
tags:
- name: JWT
paths:
/jwt/certs:
get:
description: This is the JWKS uri of the API Gateway. It fetches all the public keys of APIGateway, which can be used by to validate the JWT generated by API Gateway. The response will be in the JWK format
operationId: JWKSUri
responses:
'200':
description: This response indicates that the client is able to fetch the JWKS uri of the API Gateway.
content:
application/json:
schema:
$ref: '#/components/schemas/JWKSResponse'
example: "{\n \"keys\": [{\n \"kty\": \"RSA\",\n \"e\": \"AQAB\",\n \"use\": \"sig\",\n \"kid\": \"ssos\",\n \"alg\": \"RSA\",\n \"n\": \"oIFE3wNHbGNFYOX_Bc4Xp38atxOoGy6dfZRiykqBWWFX5UZ3Cyb_1sxvHyXUuwCqvL482gB8piaAyY1UVLZgCB9W6wUmHNR_ZADJFXchh_r51RyFTf7RG22YPQSoHaV0ei0A5A9q8cC7CfjqWH9dGfJ01kNJaXsNGlrySMga23r6NwENbIa8rUmKuSfPi5XpOmcXKcbZhNrgdMsu_0RIbjMk0wROtSV6bZHCx6SZABvdAybz2ZwBmgP6yuTNWW_wICByP1cZnLXCYC-sRkN-cDV7xtViOrbyBKI1SfFeEAVPvwxHngBQm1NCzRaRwPJ7ChOx1POdBW5wQsYjvhjTFQ\"\n }]\n}"
'400':
description: 'This status code indicates that the requested URI is not valid '
'500':
description: This response indicates that the server has encountered an error while fetching the JWKS uri of the API Gateway
tags:
- JWT
summary: JWKS uri
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/pub/apigateway
/jwt/getJsonWebToken:
get:
description: This operation fetches JWT from APIGateway.To obtain the JWT from APIGateway the client has to has to pass the basic authentication credentials.
operationId: getJsonWebToken
parameters:
- name: app_id
in: query
description: This parameter is used to specify an application id for which APIGateway generates a JWT
required: false
schema:
type: string
responses:
'200':
description: This response indicates that the client is able to fetch the JWT successfuly.
content:
application/json:
schema:
$ref: '#/components/schemas/JWT'
example: "{\n \"jwt\":\"eyJraWQiOiJzc29zIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJBZG1pbmlzdHJhdG9yIiwiYXVkIjoiIiwibmJmIjoxNTIyNjcxMDMyLCJpc3MiOiJBQUEiLCJleHAiOjE1MjI2OTEwMTIsImlhdCI6MTUyMjY3MTAzMn0.C3ZtttnEPgIT9F1rvLzxjrbVr5AWDqGgicdt7O_bP2qYEgaQ3daBkGAHZeRwDPtijfzC7uL0WdEeqzUwC8ybbX-7dqz76yUhhLIeTl7O1qJj2uT8KNKUJC93-hL_SwzbQfO61rW_dHDYeXgnldZltxHE66HUU3mQOjSvQ_GuOfDdzACyMPcfVuW2_uYcT2HfxBI4l5GCIVVKI92E2JG1-Edm9A7PL8L435i64onotVl-QEaMMGMc6LqaY-pOKz6xflJQ06tt2woMhsqVf2iyNr0P8849fBCHXZkghX2is8cYaQQw2Y6cKDEtWA9ueWsPprvIGiWkyHVtUD3Jv4Gymg\" \n}"
'400':
description: 'This status code indicates that the requested URI is not valid '
'401':
description: This response indicates that invalid credentials have been provided while fetching the JWT.
'500':
description: This response indicates that the server has encountered an error while fetching JWT
security:
- Basic: []
tags:
- JWT
summary: Get json web token
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/pub/apigateway
components:
schemas:
JWKSResponse:
type: object
JWT:
type: object
properties:
jwt:
type: string
description: Json Web Token (JWT) generated by APIGateway
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator
x-refined-from:
- apigateway-PublicServices.json
- web-methods-api-gateway-publicservices-openapi.yml