apyhub
FILE CONVERSION · FILE MANIPULATION

Convert PES to ZIP API

Hosted on ApyHub

What it does

PES to ZIP Converter turns a .pes embroidery file into a downloadable ZIP archive. Send the PES file in the request body, and you get a binary ZIP file back.

Use it when you need to package embroidery artwork for download, transport, or downstream processing in a format that is easier to move through file pipelines. The endpoint is specific about input: the uploaded file must have a .pes extension. The response is a ZIP archive containing the PES file, returned as binary output.

That makes PES to ZIP Converter useful in automation flows where you want to normalize embroidery assets before storing them, attaching them to jobs, or handing them off to another system that expects compressed archives. It’s a simple file transformation endpoint with a narrow contract, which keeps integration straightforward.

If your application handles embroidery design uploads, this service gives you a predictable way to convert a single PES file into a ZIP download without additional parsing or transformation logic on your side.

POST
Convert a PES file to a ZIP archive
http://localhost:8080/apyhub/convert-pes-to-zip
QUICKSTARTGUIDE

Quickstart

Upload a .pes embroidery file to convert it into a ZIP archive.

curl -X POST "http://localhost:8080/apyhub/convert-pes-to-zip" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/file.pes" \
  -F "output=sample-output"

What you'll get back

Returns a downloadable ZIP archive as a binary response body.

TRY ITLIVE · 50 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.
body*
The `.pes` embroidery file to convert. Must have a `.pes` extension.

About this endpoint

What it does

Converts an uploaded PES embroidery file into a ZIP archive and returns the archive as a downloadable binary response.

Query Parameter(s)

AttributeTypeMandatoryDescription
outputStringNoDefault: sample-output

Request Body

ParameterTypeMandatoryDescription
fileStringYesBinary .pes embroidery file to convert. Must have a .pes extension.

Response

Returns a binary response containing a downloadable ZIP archive with the converted PES file.

ParameterTypeMandatoryDescription
binaryStringYesDownloadable ZIP archive containing the PES file.

Query parameters

Name
Type
Description
outputOPTIONAL
string
DEFAULT sample-output

Body

Name
Type
Description
bodyREQUIRED
object

Max 100MB total per request (all files combined). Larger? Use this API's URL-based endpoint instead, if it has one.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.