Skip to main content

Widget type

Endpoint GET /widget-types/:id

Retrieve a widget type's data by id.

Path Parameters

Required
  • id - The widget type's id.

Example Request:

curl -H "Authorization: Bearer ACCESS_TOKEN" "https://api.commoninja.com/platform/api/v1/widget-types/countdown"

Example Response:

{
"id": "countdown",
"name": "Countdown",
"slug": "countdown",
"buttonText": "Create a Countdown",
"teaser": "Boost engagement, increase conversions, and captivate visitors",
"logo": "https://website-assets.commoninja.com/distribution/1681118357912_countdown-icon.png",
"promotionImage": "https://website-assets.commoninja.com/distribution/1681118373386_countdown-promotion.png",
"categories": ["Engagement", "Conversion"]
}