Create brand

Creates the brand properties for the specified account.
POST
/accounts/{accountID}/branding
cURL
curl --request POST \
  --url https://api.moov.io/accounts/{accountID}/branding \
  --header 'content-type: application/json' \
  --data '{"colors":{"dark":{"accent":"#111111"},"light":{"accent":"#111111"}}}'
200 403 404 409 422 429
Branding created.
{
  "colors": {
    "dark": {
      "accent": "#111111"
    },
    "light": {
      "accent": "#111111"
    }
  }
}
The user is not authorized to make the request.
Request received, but resource was not found.
Branding already exists. Branding values can be updated via the PATCH endpoint.
Errors were found in the request body.
{
  "colors": {
    "dark": {
      "accent": "string"
    },
    "light": {
      "accent": "string"
    }
  }
}
Request was refused due to rate limiting.

Retry-After

number

Path parameters

accountID

string <uuid> required
ID of the account.

Body

application/json

colors

object required
Brand colors for light and dark modes.
Show child attributes

dark

object required
Show child attributes

accent

string required
A CSS hex color representing an accent color.

light

object required
Show child attributes

accent

string required
A CSS hex color representing an accent color.

Response

application/json

colors

object required
Brand colors for light and dark modes.
Show child attributes

dark

object required
Show child attributes

accent

string required
A CSS hex color representing an accent color.

light

object required
Show child attributes

accent

string required
A CSS hex color representing an accent color.