{
  "opencollection": "1.0.0",
  "info": {
    "name": "Semrush Hermes Partner API API",
    "version": "0.0.1"
  },
  "items": [
    {
      "info": {
        "name": "Hermes Partner API",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Semrush Get available subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.semrush.com/apis/v4/hermes/v0/subscriptions",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all application's registered subscriptions\n[Documentation](https://www.semrush.com/apps/docs/server-to-server-api/notifications#available-subscriptions)\n"
        },
        {
          "info": {
            "name": "Semrush Get user's subscription status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.semrush.com/apis/v4/hermes/v0/user/:user_id/subscription/:id",
            "params": [
              {
                "name": "user_id",
                "value": "",
                "type": "path",
                "description": "User id"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Subscription id"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[Documentation](https://www.semrush.com/apps/docs/server-to-server-api/notifications#subscription-status)\n"
        },
        {
          "info": {
            "name": "Semrush Send notification",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.semrush.com/apis/v4/hermes/v0/event",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[Documentation](https://www.semrush.com/apps/docs/server-to-server-api/notifications#sending-notification)\n"
        },
        {
          "info": {
            "name": "Semrush Get event status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.semrush.com/apis/v4/hermes/v0/event/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Subscription id"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[Documentation](https://www.semrush.com/apps/docs/server-to-server-api/notifications#event-status)\n"
        }
      ]
    }
  ],
  "bundled": true
}