{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dispatch Files API v1 Appointments Authentication API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve or refresh a bearer token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://files-api.dispatch.me/v3/oauth/token",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Exchange credentials for an OAuth 2.0 bearer token. Job sources use the client_credentials grant; a single service provider uses the password grant. Tokens are temporary - handle 401 responses by retrieving a new token."
        }
      ]
    }
  ],
  "bundled": true
}