Skip to main content
GET
Get embed code
Get the two-line embed snippet for a Wall of Love page or a widget: the <div class="feedspace-embed"> element and the <script> tag that loads it. This is the same code the dashboard Share tab copies.

Choosing the resource

Set type to page for a Wall of Love page or widget for a widget, and pass its id.

Where the id comes from

The id is resolved within the workspace your API key belongs to. An id from another workspace, or one that does not exist, returns 404.

Response

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using API Key and Secret Key. The credentials should be Base64 encoded in the format 'api_key:secret_key'. You can obtain your API Key and Secret Key from Feedspace → Automation → API (https://app.feedspace.io/automation/api).

Query Parameters

type
enum<string>
required

What the embed code is for: page for a Wall of Love page, or widget for a widget.

Available options:
page,
widget
id
string
required

The id of the page or widget. A page id (unique_page_id) comes from the All Pages endpoint. A widget id is copied from the widget's Share tab in the dashboard.

Response

The embed code was found.

type
string
id
string
embed_code
string