List Texts
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, Filtering
AuthorizationBearer
Authorization
default In: header
Query Parameters
List texts for specified id(s). Multiple ids are separated by comma (filter[id]=1,2,3).
List texts for specified collection name, e.g. filter[collection_name]=ordered (all ordered texts) or filter[collection_name]=custom (texts designed by you but not ordered).
Value in
- "ordered"
- "custom"
Page number to return — see Basic Usage → Pagination.
Number of objects per page (default 25, maximum 100) — see Basic Usage → Pagination.
Header Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/texts?filter%5Bid%5D=1&filter%5Bcollection_name%5D=custom&page=1&per_page=3" \ -H "X-Api-Version: 2022-02-01"{ "data": [ { "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=1775820416&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" }, { "id": 2, "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": 342, "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/aff06827551f4ff799413a3dbe424ceb/tmp-file-4a11a6f0-ddfe-454b-9cb1-f406a011e114.png?expires=1775820416&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": 3, "value": "Text Example 1", "font": { "id": 1, "family_name": "Roboto", "style": "Bold" }, "font_size": 16, "padding_bottom": 1, "horizontal_alignment": "right", "bending_radius": "46.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": 4, "value": "Text Example 2", "font": { "id": 1, "family_name": "Roboto", "style": "Bold" }, "font_size": 13, "padding_bottom": 8, "horizontal_alignment": "center", "bending_radius": "93.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": 47, "height": 79, "created_at": "2026-04-08T05:58:20+00:00", "updated_at": "2026-04-08T05:58:20+00:00" }, { "id": 3, "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": 343, "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/2b1a427f70a94f96b41ce03fbb35275d/tmp-file-4a11a6f0-ddfe-454b-9cb1-f406a011e114.png?expires=1775820416&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": 5, "value": "Text Example 1", "font": { "id": 1, "family_name": "Roboto", "style": "Bold" }, "font_size": 9, "padding_bottom": 17, "horizontal_alignment": "left", "bending_radius": "169.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": 6, "value": "Text Example 2", "font": { "id": 1, "family_name": "Roboto", "style": "Bold" }, "font_size": 11, "padding_bottom": 5, "horizontal_alignment": "right", "bending_radius": "100.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": 87, "height": 51, "created_at": "2026-04-08T05:58:20+00:00", "updated_at": "2026-04-08T05:58:20+00:00" } ], "links": { "first": "https://api.smake.io/v2/apps/1/texts?per_page=3&page=1", "last": null, "prev": null, "next": "https://api.smake.io/v2/apps/1/texts?per_page=3&page=2" }, "meta": { "current_page": 1, "current_page_url": "https://api.smake.io/v2/apps/1/texts?per_page=3&page=1", "from": 1, "path": "https://api.smake.io/v2/apps/1/texts", "per_page": 3, "to": 3 }}Preview Cart Prices POST
Calculates a price preview for a set of variants and quantities as if they were being ordered together, without creating an order. Quantities of matching customizations across items are combined so that quantity-based price scaling is applied the same way it would be at checkout.
Show Text GET
Returns the text with the given `id`, including its lines, font, and preview image.