{ "item": [ { "id": "402f2612-16c5-4794-8a81-cc413dd888e8", "name": "JWT Issuer", "description": { "content": "", "type": "text/plain" }, "item": [ { "id": "d7376b06-3331-4594-a0a8-55dac0103438", "name": "Semrush Request API access token", "request": { "name": "Semrush Request API access token", "description": { "content": "Retrieves JWT for accessing Semrush API.\n[Documentation](https://www.semrush.com/apps/docs/server-to-server-api/bearer-token)\n", "type": "text/plain" }, "url": { "path": [ "app-center-api", "v2", "jwt-token", "" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"jwt\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "bc3fd51c-5a63-411a-9f10-6d2eca30b12c", "name": "OK", "originalRequest": { "url": { "path": [ "app-center-api", "v2", "jwt-token", "" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...0NiL86tQkUG25G3Y1QC2ma94sfe4cXcs8_bYcpw2OzY\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...0NiL86tQkUG25G3Y1QC2ma94sfe4cXcs8_bYcpw2OzY\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6549993e-f433-4acb-90f3-7d5babf66627", "name": "Bad request. Something wrong with the request or JWT", "originalRequest": { "url": { "path": [ "app-center-api", "v2", "jwt-token", "" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...0NiL86tQkUG25G3Y1QC2ma94sfe4cXcs8_bYcpw2OzY\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "\"string\"", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "228652bb-569b-4934-a510-eb4dfbd305bf", "name": "Unauthorized. Incorrect JWT fields or signature", "originalRequest": { "url": { "path": [ "app-center-api", "v2", "jwt-token", "" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...0NiL86tQkUG25G3Y1QC2ma94sfe4cXcs8_bYcpw2OzY\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "\"string\"", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "580a05ea-ce2c-4034-b95e-1856dde9d36c", "name": "Access denied", "originalRequest": { "url": { "path": [ "app-center-api", "v2", "jwt-token", "" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "text/html" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"jwt\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...0NiL86tQkUG25G3Y1QC2ma94sfe4cXcs8_bYcpw2OzY\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "text/html" } ], "body": "string", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] } ], "event": [], "variable": [ { "type": "string", "value": "https://api.semrush.com", "key": "baseUrl" } ], "info": { "_postman_id": "fb1007d8-91b2-4d82-bd10-e44764e5dcbe", "name": "Semrush Hermes Partner API JWT Issuer API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "SEMrush is an all-in-one digital marketing tool that helps businesses improve their online visibility and attract more customers. This powerful software provides a range of tools and features for keyword research, website analysis, competitive analysis, and more. With SEMrush, businesses can track their online rankings, discover new keywords to target, analyze their competitors' strategies, and optimize their website for better search engine performance. Overall, SEMrush is a essential tool for any business looking to succeed in the competitive world of online marketing.", "type": "text/plain" } } }