Get gallery images

Get the business's gallery images. Only active images are returned, newest first. With type=partners you get every image, inside data; with type=campaign you get one page (per_page, page), not wrapped, with links and meta.

Prerequisites: a bearer token and the account's id (company_id).

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…
Query Params
integer
required
Defaults to 5994

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

string
enum
required
Defaults to partners

Required. Which gallery: partners or campaign.

Allowed:
integer
Defaults to 10

type=campaign only. Images per page, 10–100 (values below 10 are raised to 10; above 100 returns 422). Default 10.

integer
Defaults to 1

type=campaign only. Page number. Default 1.

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