Upload gallery images

Add images to the business's gallery. Use this to build a photo gallery. Send the request as multipart/form-data, with one images[] part per file (JPEG or PNG, up to 2048 KB each). Returns the uploaded images.

Prerequisites: a bearer token, the account's id (company_id), and JPEG or PNG files up to 2048 KB each.

Authentication: Partner or Account token. company_id must be inside your own account tree (a Partner token reaches any account under the partner, an Account token only its own); otherwise 422.

Rate limit: none.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

The account. Must exist and be inside your account tree.

string
enum
required

Which gallery: partners or campaign.

Allowed:
images[]
array of files
required

One or more image files. Each must be a JPEG or PNG, at most 2048 KB.

string
enum
Defaults to active

active (default) or inactive. Only active images are listed by Get gallery images.

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json