GET
/
components
/
v1
/
offer-design
/
{externalId}
cURL
curl --request GET \
  --url https://api-sandbox.appcharge.com/components/v1/offer-design/{externalId} \
  --header 'x-publisher-token: <api-key>'
{
  "id": "507f1f77bcf86cd799439011",
  "offerUiType": "SpecialOffer",
  "name": "Summer Special",
  "externalId": "summer_special_offer",
  "backgroundImageUrl": "https://cdn.appcharge.com/507f1f77bcf86cd799439011_background.png",
  "title": {
    "text": "Limited Time Offer",
    "fontColor": "#FFFFFF",
    "fontSize": 16,
    "fontWeight": "bold"
  },
  "externalBackgroundImageUrl": "https://example.com/images/summer-special.png"
}

Authorizations

x-publisher-token
string
header
required

Publisher token, as displayed in the Publisher Dashboard.

Path Parameters

externalId
string
required

Design ID that you defined.

Example:

"summer_special_offer"

Response

Offer design details retrieved successfully.

Response schema for a special offer design.

id
string
required

Design ID.

Example:

"507f1f77bcf86cd799439011"

offerUiType
enum<string>
required

Type of offer design.

Available options:
SpecialOffer
Example:

"SpecialOffer"

name
string
required

Offer design name.

Example:

"Summer Special"

externalId
string
required

Design ID that you defined.

Example:

"summer_special_offer"

backgroundImageUrl
string<url>
required

URL of background image stored on Appcharge CDN.

Example:

"https://cdn.appcharge.com/507f1f77bcf86cd799439011_background.png"

title
object

Offer title details.

Example:
{
"text": "Limited Time Offer",
"fontColor": "#FFFFFF",
"fontSize": 16,
"fontWeight": "bold"
}
externalBackgroundImageUrl
string<url>

Original URL of the background image if uploaded via external link.

Example:

"https://example.com/images/summer-special.png"