Get Business Profile Photo

Request Parameters

KeyDescriptionConstraints
Headers
apikeyApikey of the account where the app is to be createdShould be a valid gupshup.io apikey
Path Params
appIdValid app id

Response Parameters

KeyDescription
messageContains the link to the profile photo

Status Codes

Status CodeResponseComments
Success
200{
"message": "",
"status": "success"
}
Error
400{
"status": "error",
"message": "Invalid app id provided"
}
When invalid/empty appId is provided
400{
"status": "error",
"error": {
"message": "
}
}
When Facebook returns an error while setting business profile photo
400{
"status": "error",
"error": {
"message": "couldn't fetch profile picture"
}
}
When an error occurs while fetching photo
401{
"status": "error",
"message": "Authentication Failed"
}
When API key is unauthorized
429{
"status": "error",
"message": "Too Many Requests"
}
When the rate limit is exceeded
Language
Click Try It! to start a request and see the response here!