Skip to main content
GET
/
colors
List available colors
curl --request GET \
  --url https://inboxapp.com/api/v1/colors \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "<string>",
    "hex": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

OK

name
string
required

The name of the color that can be used in API requests.

Examples:

"red"

"blue"

"green"

hex
string
required

The hex code representation of the color.

Examples:

"#ef4444"

"#3b82f6"

"#22c55e"

Example:
[
{ "name": "slate", "hex": "#64748b" },
{ "name": "red", "hex": "#ef4444" },
{ "name": "orange", "hex": "#f97316" },
{ "name": "amber", "hex": "#f59e0b" },
{ "name": "green", "hex": "#22c55e" },
{ "name": "teal", "hex": "#14b8a6" },
{ "name": "blue", "hex": "#3b82f6" },
{ "name": "purple", "hex": "#a855f7" },
{ "name": "pink", "hex": "#ec4899" }
]