Skip to main content
1

Get an API key

Create a key in Arcade Studio under Settings → API keys, then export it.
2

Generate a pattern

Send a prompt. The requestId makes the request safe to retry. Name your integration in the User-Agent header; see Identify your client.
3

Wait for the job

Poll the job until status is succeeded or failed. Generation takes a minute or two; if it fails, error.message says why.
4

Create a product

Choose a category from categories/list and its options from categories/get; category IDs differ between production and staging. This example makes cotton dinner napkins in production.
Product builds also return a job. When it succeeds, result.productId is your product.
5

Order it

Create a checkout, then open checkoutUrl to pay.
After payment, orders/get with the checkoutId returns the order.