Skip to main content
POST
/
v2
/
image-utils
/
extract-svg-icon
cURL
curl --request POST \
  --url https://api.tokenkit.co/v2/image-utils/extract-svg-icon \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'image=<string>' \
  --form image.0='@example-file'
{
  "data": {
    "job_id": "job_123",
    "links": {
      "self": "/v1/jobs/job_123",
      "stream": "/v1/jobs/job_123/stream"
    }
  },
  "errors": null
}

Request body

multipart/form-data
  • image (file | string, required): Uploaded image or image URL, max 15MB for uploads

Validation rules

  • image is required

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
image
required

Response

Job accepted

data
object
required
errors
unknown