Brands
Create a new brand
Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Brands
Create a new brand
POST
/
brands
curl --request POST \
--url https://api.courier.com/brands \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"name": "<string>",
"settings": {
"colors": {
"primary": "<string>",
"secondary": "<string>",
"tertiary": "<string>"
},
"inapp": "<any>",
"email": {
"footer": "<any>",
"header": "<any>"
}
},
"snippets": {
"items": [
{
"format": "handlebars",
"name": "<string>",
"value": "<string>"
}
]
}
}'
{
"created": 123,
"id": "<string>",
"name": "<string>",
"published": 123,
"settings": {
"colors": {
"primary": "<string>",
"secondary": "<string>",
"tertiary": "<string>"
},
"inapp": "<any>",
"email": {
"footer": "<any>",
"header": "<any>"
}
},
"updated": 123,
"snippets": {
"items": [
{
"format": "handlebars",
"name": "<string>",
"value": "<string>"
}
]
},
"version": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The name of the brand.
Response
200
application/json
The date/time of when the brand was created. Represented in milliseconds since Unix epoch.
Brand name
The date/time of when the brand was published. Represented in milliseconds since Unix epoch.
The date/time of when the brand was updated. Represented in milliseconds since Unix epoch.
The version identifier for the brand
Brand Identifier
curl --request POST \
--url https://api.courier.com/brands \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"name": "<string>",
"settings": {
"colors": {
"primary": "<string>",
"secondary": "<string>",
"tertiary": "<string>"
},
"inapp": "<any>",
"email": {
"footer": "<any>",
"header": "<any>"
}
},
"snippets": {
"items": [
{
"format": "handlebars",
"name": "<string>",
"value": "<string>"
}
]
}
}'
{
"created": 123,
"id": "<string>",
"name": "<string>",
"published": 123,
"settings": {
"colors": {
"primary": "<string>",
"secondary": "<string>",
"tertiary": "<string>"
},
"inapp": "<any>",
"email": {
"footer": "<any>",
"header": "<any>"
}
},
"updated": 123,
"snippets": {
"items": [
{
"format": "handlebars",
"name": "<string>",
"value": "<string>"
}
]
},
"version": "<string>"
}