Imgur · Example Payload

Imgur Issueaccesstoken Example

PhotographyImagesImage HostingAlbumsGallerySocialMemesContent SharingPublic APIs

Imgur Issueaccesstoken Example is an example object payload from Imgur, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.imgur.com/oauth2/token",
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": {
      "client_id": "YOUR_CLIENT_ID",
      "client_secret": "YOUR_CLIENT_SECRET",
      "grant_type": "refresh_token",
      "refresh_token": "YOUR_REFRESH_TOKEN"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "access_token": "a1b2c3d4e5f6...",
      "expires_in": 315360000,
      "token_type": "bearer",
      "scope": null,
      "refresh_token": "x9y8z7w6v5u4...",
      "account_id": 123456,
      "account_username": "kinlane"
    }
  }
}