Made in 10Docs
GuidesAPI
ReferenceWebsite widget

Upload a launcher icon

Uploads an icon for the `pill`, `icon` and `tab` launchers, as `multipart/form-data` with one field, `file`.

POST
/widget-icons

Authorization

secretKey
headerAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>

A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.

Request Body

multipart/form-data
  1. body
file*string

One SVG, PNG or WebP file of at most 64 KB.

Response Body

The icon.

application/json
  1. response
Example
{  "id": "ico_5Tg1Hw8KpX3mQz6VbN2c",  "kind": "svg",  "width": 24,  "height": 24,  "size_bytes": 412,  "url": "https://talk.madein10.com/api/widget/icons/ico_5Tg1Hw8KpX3mQz6VbN2c",  "created_unix": 1793300000}
id*WidgetIconId
Match^ico_[0-9A-Za-z]{8,40}$
Example"ico_5Tg1Hw8KpX3mQz6VbN2c"
kind*string
Value in"svg""png""webp"
width*integer
height*integer
size_bytes*integer
Rangevalue <= 65536
url*string

The file, for any site.

Formaturi
created_unix*Unix

Unix seconds, UTC.

Formatint64
Example1793300000
Example Request
curl -X POST 'https://api.daxov.com/v1/widget-icons' \  -F 'file=string'
Example Response
{  "id": "ico_5Tg1Hw8KpX3mQz6VbN2c",  "kind": "svg",  "width": 24,  "height": 24,  "size_bytes": 412,  "url": "https://talk.madein10.com/api/widget/icons/ico_5Tg1Hw8KpX3mQz6VbN2c",  "created_unix": 1793300000}