Retrieve the crawlable AI snippet script

Returns a JavaScript file that adds your store's crawlable AI snippet to the page <head> as a <script type="application/ld+json"> tag. Load it on your pages with a <script src> tag. When no snippet is set, it adds an empty object.

The script adds the tag in the browser, so crawlers that don't run JavaScript won't see it. To serve the snippet in the page HTML, fetch Retrieve the crawlable AI snippet on your server instead.

No access token is needed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Your Yotpo store ID (app key).

Headers
string
enum
Defaults to application/javascript

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/javascript
text/plain