API Reference
Log In
API Reference

Full width banner v2

Fetching a banner which displays the user's top stats

Log in to see full request history
1041

Banner example

Query Params
string
Defaults to en

Set the widget's language. Currently supported languages are: English (en), German (de)

Body Params
options
array of strings
required

Add the following values to display the corresponding data on the banner : "monthsEarthPositive" | "trees" | "plastic" | "carbon" | "kelp" | "straws" | "miles" | "footballPitches"

options*
string

Customize the banner's background image with an URL

string

If a title exists, it will be displayed at the top of the banner

string

If a description exists, it will be displayed at the top of the banner or, if a title also exists, it will be displayed below the title

string

Adds a button with the "Learn more" call to action, that redirects the user to the specified URL

string

Changes the color of every text and icon content in the banner. Must be an hexadecimal color.

string

If callToActionUrl is no empty, it sets the background color of the call to action button. Must be an hexadecimal color.

string

If callToActionUrl is no empty, it sets the background color of the call to action button. Must be an hexadecimal color.

Responses

Language
Credentials
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json