Skip to content

Shipping Soon API

Add people to your Shipping Soon waitlist from your own website or app, read your signups, and invite people when you're ready. The API is a small, versioned JSON REST API. No SDK required.

Base URL: https://shippingsoon.app/api/v1

Authentication

Create an API key in Studio, under your product's API and webhooks tab. Send it as a bearer token:

curl https://shippingsoon.app/api/v1/waitlists/WAITLIST_ID \
  -H "Authorization: Bearer ss_live_..."

Keys belong to one product and only work with that product's waitlist. Keep them on your server. Never ship a key to a browser or mobile app.

Each key has permissions:

PermissionAllows
signups:writeCreating signups
signups:readReading signups, including names and email addresses
access:writeInviting people and granting access

Rate limits

Each key can make 120 requests per minute. Exceeding the limit returns 429 rate_limited. Retry after a short pause.

Idempotency

Send an Idempotency-Key header with any POST to make retries safe. Repeating a request with the same key returns the original response with an Idempotent-Replayed: true header. Reusing a key with a different body returns 422 idempotency_key_reused. Keys are remembered for 24 hours.

Errors

Errors use standard HTTP status codes and a consistent body:

{
  "error": {
    "code": "invalid_request",
    "message": "Request validation failed.",
    "details": [{ "path": "email", "message": "A valid email is required" }]
  }
}
StatusCodeMeaning
400invalid_request, invalid_jsonThe request body or query is invalid
401unauthorizedMissing, invalid or revoked API key
403insufficient_scopeThe key lacks the required permission
403product_archivedThe key's product is archived. Keys work again if it's restored
404not_foundThe waitlist or signup doesn't exist for this key
409waitlist_closedThe waitlist is paused, closed or not yet published
422idempotency_key_reusedIdempotency key reused with a different request
429rate_limitedToo many requests

Every response includes an X-Request-Id header. Include it if you contact us.

Waitlists

Retrieve a waitlist

GET /waitlists/{waitlistId}. Works with any key for the product.

{
  "object": "waitlist",
  "id": "cm...",
  "name": "Acme AI",
  "status": "open",
  "signupCount": 1204,
  "waitingCount": 1150,
  "nextBatchSize": 50,
  "url": "https://shippingsoon.app/p/acme-ai",
  "createdAt": "2026-11-02T10:00:00.000Z"
}

Signups

Create a signup

POST /waitlists/{waitlistId}/signups. Requires signups:write.

FieldType
emailstringRequired
namestringOptional
curl -X POST https://shippingsoon.app/api/v1/waitlists/WAITLIST_ID/signups \
  -H "Authorization: Bearer $SHIPPING_SOON_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 7f9c2e1a-signup-ada" \
  -d '{"email":"ada@example.com","name":"Ada Lovelace"}'

Returns 201 for a new signup, or 200 with "created": false if this email is already on the waitlist. Duplicates are never created.

{
  "created": true,
  "signup": {
    "object": "signup",
    "id": "cm...",
    "waitlistId": "cm...",
    "name": "Ada Lovelace",
    "email": "ada@example.com",
    "shippingSoonMember": false,
    "status": "waiting",
    "position": 1205,
    "source": "api",
    "createdAt": "2026-12-01T09:30:00.000Z",
    "invitedAt": null,
    "grantedAt": null
  }
}

The API only stores what you send, and shippingSoonMember is false for signups you create. If the person creates a Shipping Soon account with the same email, or already has one and joins your waitlist on Shipping Soon, the signup joins their account and keeps its place, and they can track their position in My Waitlists.

List signups

GET /waitlists/{waitlistId}/signups?status=waiting&page=1&limit=50. Requires signups:read.

status is one of waiting, invited, granted or all, which is the default. Waiting signups come back in waitlist order with exact positions. Responses include page, limit, total and hasMore.

Retrieve a signup

GET /waitlists/{waitlistId}/signups/{signupId}. Requires signups:read.

Invite or grant access

POST /waitlists/{waitlistId}/signups/{signupId}/invite sends a "You're in!" invitation.

POST /waitlists/{waitlistId}/signups/{signupId}/grant marks access as granted, for example after they've activated their account with you.

Both require access:write, return the updated signup, and email the person.

Webhooks

Add an HTTPS endpoint in API and webhooks to receive a signup.created event for every new signup, whether it came through Shipping Soon or the API.

{
  "id": "evt_...",
  "type": "signup.created",
  "createdAt": "2026-12-01T09:30:00.000Z",
  "data": {
    "signup": {
      "id": "cm...",
      "waitlistId": "cm...",
      "productId": "cm...",
      "name": "Ada Lovelace",
      "email": "ada@example.com",
      "position": 1205,
      "source": "WEB",
      "createdAt": "2026-12-01T09:30:00.000Z"
    }
  }
}

Respond with any 2xx status within 10 seconds. Failed deliveries, meaning network errors, timeouts, 408, 429 and 5xx responses, are retried after 30 seconds, 2 minutes, 10 minutes, 1 hour and 6 hours. Other 4xx responses aren't retried. Delivery history is shown in your dashboard, where you can also send a test event or retry a failed delivery.

Verifying signatures

Each request has a Shipping-Soon-Signature header: t=<unix timestamp>,v1=<hex HMAC-SHA256>. The signature is computed over "{t}.{raw request body}" with your endpoint's signing secret.

import crypto from "node:crypto";

export function verifyShippingSoon(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}

Use the raw request body, before any JSON parsing. Also check Shipping-Soon-Delivery to de-duplicate, since a delivery may arrive more than once.

A signup form on your site

Your form posts to your own server, and your server calls Shipping Soon:

// For example, a Next.js, Remix or Express route handler
export async function POST(request) {
  const { email, name } = await request.json();
  const res = await fetch(`https://shippingsoon.app/api/v1/waitlists/${process.env.SHIPPING_SOON_WAITLIST_ID}/signups`, {
    method: "POST",
    headers: {
      authorization: `Bearer ${process.env.SHIPPING_SOON_KEY}`,
      "content-type": "application/json",
      "idempotency-key": crypto.randomUUID(),
    },
    body: JSON.stringify({ email, name }),
  });
  const { signup, error } = await res.json();
  if (!res.ok) return Response.json({ message: error.message }, { status: res.status });
  return Response.json({ position: signup.position });
}

Versioning

The API is versioned in the URL. We won't make breaking changes to /v1. Additive changes, such as new fields or events, may happen at any time, so ignore fields you don't recognise.