Overview
NOTE: Using the ClickBank Images API may require a rudimentary understanding of computer programming. If you do not feel equipped to proceed, we encourage you to seek assistance from someone who has computer programming experience.
The Images API lists the images associated with an account.
URL
URL: https://api.clickbank.com/rest/1.3/images
Methods
This section provides details about the methods available within the Images API, including required keys and roles, output types, and supported and required parameters.
The following methods are covered in this section:
- GET /1.3/images/schema – Returns the XML schema for image information list results.
- GET /1.3/images/list – Returns a list of images associated with an account.
GET /1.3/images/schema
Required Keys and Roles
- None
Return Type
XML schema for Image Information List
Supported Output Types
- application/xml
GET /1.3/images/list
This method returns a list of images associated with an account.
Request Parameters
Name | Required | Description |
---|---|---|
site | Yes | Return images from this account. |
approvedOnly | No |
Specifies whether the return should only include approved images. The valid values are:
|
type | No |
Return only images of the specified type. The valid values are:
|
Required Keys and Roles
- ClickBank API Key
- Products Role
Return Type
Supported Output Types
- application/xml
- application/json
Return Types
This section details the return types used by the Images API.
The following return types are covered in this section:
Image Information List
Image Information List returns use the following format:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cb="http://www.clickbank.com/api" version="1.0">
<xs:element name="id" type="integer"/>
<xs:element name="title" type="string"/> <xs:simpletype name="type">
<xs:restriction base="xs:string">
<xs:enumeration value="PRODUCT"/>
<xs:enumeration value="BANNER"/>
<xs:enumeration value="BANNER_BG"/>
<xs:enumeration value="CUSTOM_BANNER"/>
<xs:enumeration value="CUSTOM_BANNER_BG"/>
<xs:enumeration value="CUSTOM_ORDERFORM"/>
</xs:restriction> <xs:element name="approved" type="boolean"/> </xs:schema>
Usage Information
For additional information about using the Images API, see the ClickBank APIs article.
Related Articles
- Product Images and Titles – This article explains how to configure product images and titles in the UI.