Skip to main content
POST
/
v1
/
themes
Create Theme
curl --request POST \
  --url https://api.oviond.com/v1/themes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Dark Corporate",
  "tokens": {},
  "cover_page": {
    "pattern_id": "<string>",
    "bg_image_url": "<string>",
    "title": "<string>",
    "subtitle": "<string>",
    "widgets": []
  },
  "thank_you_page": {
    "pattern_id": "<string>",
    "bg_image_url": "<string>",
    "title": "<string>",
    "subtitle": "<string>",
    "widgets": []
  },
  "is_default": true
}
'
{
  "success": true,
  "data": {
    "id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Minimum string length: 1
Example:

"Dark Corporate"

tokens
object
required
cover_page
object
thank_you_page
object
is_default
boolean

Response

201 - application/json

Theme created

success
enum<boolean>
required
Available options:
true
data
object
required