put https://api.gupshup.io/wa/app//business/profile/photo
Request Parameters
| Key | Description | Constraints |
|---|---|---|
| Headers | ||
| apikey | Apikey of the account where the app is to be created | Should be a valid gupshup.io apikey |
| Path Params | ||
| appId | Valid app id | |
| Form Params | ||
| image | Profile photo image file | Max allowed size : 5242880 bytes |
Status Codes
Status Code | Response | Comments |
|---|---|---|
Success | ||
200 | | |
Error | ||
400 | | When photo is not provided in request |
400 | | When app is not live |
400 | | When photo size exceeds max allowed size |
400 | | When Facebook returns an error while setting business profile details |
401 | | When API key is unauthorized |
429 | | When the rate limit is exceeded |
500 | | When internal server error while processing |
