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"
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.