latestOpenAPI 3.0.02026-08-105585620.8 KB

18e2f2e178dd

File Library API

Return available thread colors from provided image URL

Returns colors in hexadecimal format.

Returned thread colors are matched as closely as possible to provided image colors.

See examples

post/files/thread-colors

Request body

file_urlstring

URL to file

Example request

{
  "file_url": "https://example.com/image.jpg"
}

Response

OK

codeinteger

Response status code 200

thread_colorsstring[]

Example response

{
  "code": 200,
  "thread_colors": [
    "#FFFFFF"
  ]
}