Imgur · Schema

Imgur OAuth2 Access Token

PhotographyImagesImage HostingAlbumsGallerySocialMemesContent SharingPublic APIs

Properties

Name Type Description
access_token string
refresh_token string
expires_in integer Seconds until expiry.
token_type string
scope stringnull
account_id integer
account_username string
View JSON Schema on GitHub

JSON Schema

imgur-access-token-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/imgur/json-schema/imgur-access-token-schema.json",
  "title": "Imgur OAuth2 Access Token",
  "type": "object",
  "required": ["access_token", "token_type"],
  "properties": {
    "access_token": { "type": "string" },
    "refresh_token": { "type": "string" },
    "expires_in": { "type": "integer", "description": "Seconds until expiry." },
    "token_type": { "type": "string", "enum": ["bearer"] },
    "scope": { "type": ["string", "null"] },
    "account_id": { "type": "integer" },
    "account_username": { "type": "string" }
  }
}