{
  "opencollection": "1.0.0",
  "info": {
    "name": "Leadspace Discovery Authorization API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authorization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Request an OAuth 2.0 access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://apigw.leadspace.com/oauth/authorize",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Exchanges the Program ID and authentication secret supplied by Leadspace for a bearer token. Tokens expire every 24 hours."
        },
        {
          "info": {
            "name": "Refresh an OAuth 2.0 access token",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://apigw.leadspace.com/oauth/authorize",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Exchanges a refreshToken for a new bearer token."
        }
      ]
    }
  ],
  "bundled": true
}