Generate an authorization token

post

/v0/token/gen

The Data Clearinghouse REST API requires a valid authorization token for each API call. An authorization token is valid for 15 minutes. After 15 minutes you can generate a new token with this API or use the refresh API to refresh the current token.

Request

Header Parameters
  • An optional header that holds the address of a request for purposes of logging, analytics, and so on.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : scopes
Type: array
Show Source
  • Allowed Values: [ "UPLOAD", "DELETE", "UPDATE", "EXPORT_REDACTED", "EXPORT_NON_REDACTED", "EXPORT_SUMMARIZATION" ]
    A scope is a permission the Data Clearinghouse administrator sets on your account to allow you to perform a specific function. Specify your scopes to associate them with the token.
Back to Top

Response

Supported Media Types

Default Response

Default response
Body ()
Root Schema : TokenResponse
Type: object
Show Source
Back to Top