POST
/api/user_themes/importsCreate a theme from a shared theme snippet
Decodes a /t/:token share link (the "Copy share link" button on a theme) through the same settings parse createUserTheme uses, and saves it under name.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
namestringrequired
Unique per account
tokenstringrequired
The token from a /t/:token share link, with or without the URL around it
200Created
dataobjectoptional
401Unauthorized
errorstringoptional
422name is missing
Error handling
A 401 is returned: Unauthorized. A 422 is returned: name is missing.