Themes

Themes are the scaffold of SocialSplash. You use themes to make a generic template of your images. You can include dynamic images, texts and colors and generate infinite amount of images.

Creating a new theme

Create a new theme.

POST https://api.socialsplash.app/me/themes

Normally you wouldn't need to create themes through API as it's easier to use our theme editor. Althrough if you know what you're doing, you can create programmatically your themes. It's recommended to check the Theme model to understand its specificities.

Request Body

NameTypeDescription

name*

string

The name of the pet

owner_id

string

The id of the user who owns the pet

species

string

The species of the pet

breed

string

The breed of the pet

{
    "name"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}

Get all the current account's themes.

GET https://api.socialsplash.app/me/themes

[
    {
        "uuid": "ec061435-f832-4df3-9d07-9833b4bb7dee",
        "key": "27BZ7F4LF2XTQUq1aQHJu",
        "name": "my first template",
        "data": {},
        "public": false,
        "fonts": [],
        "colorKeys": [
            {
                "key": "primary",
                "value": "#ac5d5d",
                "default": "#ac5d5d"
            }
        ],
        "gradientKeys": [],
        "replacementKeys": [],
        "createdAt": "2023-02-04T04:42:53.082Z",
        "updatedAt": "2023-02-04T04:42:53.082Z",
        "version": 0
    }
]

Last updated