Skip to main content
POST
/
instagram
/
oauth
/
callback
Instagram OAuth Callback Endpoint
curl --request POST \
  --url https://backend.clipvision.ai/instagram/oauth/callback \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "request_url": "<string>",
  "redirect_uri": "<string>",
  "state": "<string>"
}'
{
  "access_token": {
    "access_token": "EAAD0bO2TYx4BOxSn62gx9rt3WByAaDMxXlAzrdNedQrCZBofMfThAZBBGaapCtknqibOTwNTRvvXkVHpp4DGnvqbCytUTJiIqQN1FZAAte7RZBVLPVzr4tqU9wGG05F99BplqankGzAQTSBl7C3Hjjr5hnSaaw9kslSTwYmLqhL52cH4ZCyrldEFl4PzGZCFozwOrVmZBiHXZA989IpmCfBvaLSHDDH92azZArpMIQlq5RoTSZAjJvF7sC",
    "token_type": "Bearer",
    "expires_in": 5184000
  },
  "error": null
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
request_url
string
required
Minimum length: 1
redirect_uri
string
required
Minimum length: 1
state
string
required
Minimum length: 1

Response

Access token generated successfully

Access Token Response Object OpenAPI Schema

access_token
object

Instagram Access Token OpenAPI Schema

error
string