Here we outline the requirements and steps for integration with the Smart Layouts One-Click API. To integrate this feature, we strongly suggest the bellow workflow:

Notice: To Edit a design, see the section “How to edit a design?


Step 1: Validate Account

Users who have logged in to your website will expect to be able to follow your ZOOMcatalog link without logging in a second time. If a user does not have an existing ZOOMcatalog account, they will be automatically registered.

How to do it?

  1. Authorize a user on your own website (e.g., have the user log in with an email and password).
  2. Use the authorize API endpoint to retrieve an user_token.

See full authorization documentation here

curl --location '<https://api.zoomcatalog.com/auth/authorize>' \\
--header 'Content-Type: application/json' \\
--data-raw '{
    "grant_type": "authorization_code",
    "client_id": "<client-id>",
    "client_secret":"client-secret",
    "for_username": "[email protected]"
}'