SmakeSmake API Docs
EndpointsLogos

Create a logo

POST
/logos

Creates a logo from an uploaded media object or a public URL. You have to choose exactly one of media.id or media.url. Processing is asynchronous — listen to logo.completed / logo.failed (see Basic Usage → Webhooks).

AuthorizationbearerAuth

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token — how to obtain one is described under Setup → Authentication.

In: header

Header Parameters

Accept*"application/json"

The API only responds with JSON — this header is mandatory on every request (see Setup → Headers).

Default"application/json"

Value in

  • "application/json"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

Request example
curl -X POST "https://example.com/logos" \  -H "Accept: application/json" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "media": {}  }'
{  "data": {    "id": 0,    "name": "string",    "state": "pending",    "production_method": {      "id": 0,      "handle": "string",      "name": "string",      "description": "string"    },    "preview_url": "http://example.com",    "created_at": "2019-08-24T14:15:22Z"  }}