Show Text
Returns the text with the given id, including its lines, font, and preview image.
AuthorizationBearer
Authorization
default In: header
Path Parameters
The ID of the text.
Header Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/texts/1" \ -H "X-Api-Version: 2022-02-01"{ "id": 1, "collection_name": "custom", "production_method": { "id": 2, "collection_name": "embroidery", "handle": "embroidery", "name": "Embroider", "description": "Direct embroidery is the most common type of embroidery. Using this, you can offer a high-quality finishing technique which stands out for its durability.", "created_at": "2026-04-08T05:58:13+00:00", "updated_at": "2026-04-08T05:58:13+00:00" }, "media": [ { "id": 341, "is_test": 0, "collection_name": "preview-data", "file_name": "tmp-file-4a11a6f0-ddfe-454b-9cb1-f406a011e114.png", "size": 2307, "mime_type": "image/png", "download_url": "https://api.smake.io/storage/files/dac18b3b26f94cabbfae0914e68d7288/tmp-file-4a11a6f0-ddfe-454b-9cb1-f406a011e114.png?expires=1775820782&signature=REDACTED", "state": "pending", "requested": null, "failure_message": null, "created_at": "2026-04-08T05:58:20+00:00", "updated_at": "2026-04-08T05:58:20+00:00" } ], "lines": [ { "id": 1, "value": "Text Example 1", "font": { "id": 1, "family_name": "Roboto", "style": "Bold" }, "font_size": 7, "padding_bottom": 20, "horizontal_alignment": "center", "bending_radius": "85.00", "color_assignments": [ { "element_type": "needle", "element_identifier": 2, "apply_to": "fill", "color": { "name": "Royal", "hex": "2b408e", "red": 43, "green": 64, "blue": 142, "cyan": 70, "magenta": 55, "yellow": 0, "black": 44, "pantone": "7670", "hks": "35", "hks_percent": 100, "manufacturer": { "id": 1, "name": "Madeira", "created_at": "2026-04-08T05:58:12+00:00", "updated_at": "2026-04-08T05:58:12+00:00" }, "color_details": { "id": 1, "name": "Polyneon", "code": "1842", "thickness": "No. 60", "category": "Madeira Polyneon No. 60", "cone_codes": [ "65f96742", "e7b858fa" ], "render_thickness": 3, "render_type": "ttPolyester", "created_at": "2026-04-08T05:58:13+00:00", "updated_at": "2026-04-08T05:58:13+00:00" }, "color_details_type": "embroidery-color-details", "created_at": "2026-04-08T05:58:13+00:00", "updated_at": "2026-04-08T05:58:13+00:00" }, "red": 43, "green": 64, "blue": 142 } ], "created_at": "2026-04-08T05:58:20+00:00", "updated_at": "2026-04-08T05:58:20+00:00" }, { "id": 2, "value": "Text Example 2", "font": { "id": 1, "family_name": "Roboto", "style": "Bold" }, "font_size": 19, "padding_bottom": 2, "horizontal_alignment": "right", "bending_radius": "70.00", "color_assignments": [ { "element_type": "needle", "element_identifier": 2, "apply_to": "fill", "color": { "name": "Royal", "hex": "2b408e", "red": 43, "green": 64, "blue": 142, "cyan": 70, "magenta": 55, "yellow": 0, "black": 44, "pantone": "7670", "hks": "35", "hks_percent": 100, "manufacturer": { "id": 1, "name": "Madeira", "created_at": "2026-04-08T05:58:12+00:00", "updated_at": "2026-04-08T05:58:12+00:00" }, "color_details": { "id": 1, "name": "Polyneon", "code": "1842", "thickness": "No. 60", "category": "Madeira Polyneon No. 60", "cone_codes": [ "65f96742", "e7b858fa" ], "render_thickness": 3, "render_type": "ttPolyester", "created_at": "2026-04-08T05:58:13+00:00", "updated_at": "2026-04-08T05:58:13+00:00" }, "color_details_type": "embroidery-color-details", "created_at": "2026-04-08T05:58:13+00:00", "updated_at": "2026-04-08T05:58:13+00:00" }, "red": 43, "green": 64, "blue": 142 } ], "created_at": "2026-04-08T05:58:20+00:00", "updated_at": "2026-04-08T05:58:20+00:00" } ], "width": 66, "height": 23, "created_at": "2026-04-08T05:58:20+00:00", "updated_at": "2026-04-08T05:58:20+00:00"}List Texts GET
The endpoint lists all available texts. Returns a collection of texts. ### Filtering You can filter your results as follows — see the `filter[...]` query parameters below: - List texts for specified id(s): `/texts?filter[id]=1`, `/texts?filter[id]=1,2,3` - List texts for specified collection name(s): `/texts?filter[collection_name]=ordered`, `/texts?filter[collection_name]=custom` See: [Pagination](/docs/checkout/2022-02-01/basic/pagination), [Filtering](/docs/checkout/2022-02-01/basic/filtering)
List Orders GET
An order is created when the checkout process is complete. > See: [Expanding Objects](/docs/checkout/2022-02-01/basic/expanding-objects) Returns a collection of created orders. **Filtering** You can filter your results as follows — every `filter[...]` query parameter is documented below (ids can be combined with a comma, e.g. `/orders?filter[id]=1,2,3`). > See: [Pagination](/docs/checkout/2022-02-01/basic/pagination), [Filtering](/docs/checkout/2022-02-01/basic/filtering) **Expanding objects** Related objects can be expanded inline with the `expand` query parameter — all allowed values are listed on the parameter. See [Expanding Objects](/docs/checkout/2022-02-01/basic/expanding-objects).