Refresh Access Token

This endpoint allows you to refresh long-lived Instagram User Access Tokens.

Long-lived access tokens for private Instagram accounts can now be refreshed. In addition, permissions granted to apps by app users with private accounts are now valid for 90 days.

Creating

This operation is not supported.

Reading

GET /refresh_access_token

Refresh a long-lived Instagram User Access Token that is at least 24 hours old but has not expired. Refreshed tokens are valid for 60 days from the date at which they are refreshed.

Requirements

Request Syntax

GET https://graph.instagram.com/refresh_access_token
  ?grant_type=ig_refresh_token
  &access_token={long-lived-access-token}

Query String Parameters

Include the following query string parameters to augment the request.

KeyValue

grant_type
Required
String

Set this to ig_refresh_token.

access_token
Required
String

The valid (unexpired) long-lived Instagram User Access Token that you want to refresh.

Response

A JSON-formatted object containing the following properties and values.

{
  "access_token": "{access-token}",
  "token_type": "{token-type}",
  "expires_in": {expires-in}
}

Response Contents

Value PlaceholderValue

{access-token}
Numeric string

A long-lived Instagram User Access Token.

{token-type}
String

bearer

{expires-in}
Integer

The number of seconds until the long-lived token expires.

cURL Example

Request

curl -X GET \
  'https://graph.instagram.com/refresh_access_token?grant_type=ig_refresh_token&&access_token=F4RVB...'

Response

{
  "access_token": "c3oxd...",
  "token_type": "bearer",
  "expires_in": 5183944
}

Updating

This operation is not supported.

Deleting

This operation is not supported.