SmakeSmake API Docs
EndpointsLogos

Design Logo

POST
/logos/{id}/design

You can create a new designed logo here, for example to produce a name-and-number variant of a base design. The logo you use for designing must contain at least one text element.

Background processing

When you design a logo, this happens asynchronously and you have to use Polling or Webhooks (logo.completed / logo.failed). You will receive the new logo id in the header for later reference.

The current state of the asynchronous process is represented due following states:

StateMeaning
draftThe initial state of a new logo
checkingLogo is processed automatically in background. For example images will be generated or downloaded.
preparingThe automatic checks were successful, but the production data of the logo is prepared manually by the producer (e.g. digitised).
failedSomething went wrong during the checking process. The reason can be found in the failure_message attribute. For example an image could not be downloaded.
completedAll automatic processes were successful. The logo is ready to use.

It is not possible to use this logo before state completed.

How to Design

You can change the texts of the logo here — see the texts property of the request body (Text Object).

AuthorizationBearer
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

The ID of the logo to design (the logo template).

Header Parameters

X-Api-Version?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

Request example
curl -X POST "https://example.com/logos/1/design" \  -H "X-Api-Version: 2022-02-01" \  -H "Content-Type: application/json" \  -d '{    "texts": [      {        "name": "Text_1",        "lines": [          "kurzer Text1"        ]      }    ]  }'
{}