Account

Embed
Preview of the card
<a href="https://shippified.net/docs/ref-account"><img src="https://shippified.net/docs/_api/public/orgs/5b8789b1-481a-41f5-8e5a-5f30d11f5151/spaces/ae0c5af4-cc84-4899-9078-2faf8e7a6fc5/pages/d34f9daf-a12b-49f9-920a-9ca01787d922/social-card.svg?v=4bd9898cfc89" alt="Account" width="600" height="315"></a>
POST https://shippified.net/api/account/timezone

Set the user's IANA timezone (drives the free-plan quota window and which calendar day orders land on).

Request body

application/json
timezone
string
required
{
  "timezone": "string"
}

Code samples

cURL
curl -X POST "https://shippified.net/api/account/timezone" \
  -H "Content-Type: application/json" \
  -d '{"timezone":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated.
400 Invalid timezone.
POST https://shippified.net/api/account/username

Change your URL handle.

Code samples

cURL
curl -X POST "https://shippified.net/api/account/username"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated.
POST https://shippified.net/api/account/visibility

Toggle profile public/private.

Code samples

cURL
curl -X POST "https://shippified.net/api/account/visibility"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated.
GET https://shippified.net/api/account/api-keys

List your API keys (without secrets). Any key or session may list.

Code samples

cURL
curl -X GET "https://shippified.net/api/account/api-keys"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
{
  "items": [
    {
      "id": "string",
      "name": "string",
      "prefix": "string",
      "scope": "read",
      "createdAt": "2024-01-01T00:00:00Z",
      "lastUsedAt": "2024-01-01T00:00:00Z"
    }
  ]
}
POST https://shippified.net/api/account/api-keys

Mint a new API key. The raw secret is returned once, in this response body only. Needs a browser session — API keys can't mint keys.

Request body

application/json
name
string
scope
{
  "name": "string",
  "scope": "write"
}

Code samples

cURL
curl -X POST "https://shippified.net/api/account/api-keys" \
  -H "Content-Type: application/json" \
  -d '{"name":"string","scope":"write"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 Created.
{
  "key": "string",
  "record": {
    "id": "string",
    "name": "string",
    "prefix": "string",
    "scope": "read",
    "createdAt": "2024-01-01T00:00:00Z",
    "lastUsedAt": "2024-01-01T00:00:00Z"
  }
}
400 scope is not read or write.
403 Called with an API key — API keys can't manage API keys.
{
  "error": "string"
}
429 Key limit reached (25).
DELETE https://shippified.net/api/account/api-keys/{id}

Revoke API key. Needs a browser session — API keys can't revoke keys.

Parameters

id
string
path
required

Code samples

cURL
curl -X DELETE "https://shippified.net/api/account/api-keys/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Revoked.
403 Called with an API key — API keys can't manage API keys.
{
  "error": "string"
}
404 Not found.
GET https://shippified.net/api/webhook-logs

Audit log of inbound webhooks + email imports.

Code samples

cURL
curl -X GET "https://shippified.net/api/webhook-logs"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
DELETE https://shippified.net/api/webhook-logs

Clear the audit log.

Code samples

cURL
curl -X DELETE "https://shippified.net/api/webhook-logs"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Cleared.
GET https://shippified.net/api/account/username/available

Check whether a username is free.

Public, no auth needed. Case-insensitive exact match against existing usernames. It doesn't apply the format, length or reserved-name rules — POST /api/account/username can still refuse a name reported as available.

Parameters

u
string
query
required
Candidate username.

Code samples

cURL
curl -X GET "https://shippified.net/api/account/username/available?u=<u>"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 reason: "empty" when u is missing or blank.
{
  "available": true,
  "reason": "empty"
}
POST https://shippified.net/api/account/display-name

Rename the workspace.

The display name is the human label shown on the leaderboard, public profile, share cards and the daily digest. It's separate from the URL username. Whitespace is collapsed and trimmed.

Request body

application/json
displayName
string
required
{
  "displayName": "string"
}

Code samples

cURL
curl -X POST "https://shippified.net/api/account/display-name" \
  -H "Content-Type: application/json" \
  -d '{"displayName":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated. Returns the stored (cleaned-up) name and the refreshed workspace state.
{
  "displayName": "string",
  "state": {}
}
400 Missing, blank or longer than 48 characters.
{
  "error": "string"
}
401 Not authenticated.
POST https://shippified.net/api/account/public-stats

Opt in or out of public aggregate stats.

Separate from profile visibility (POST /api/account/visibility, which only controls whether your profile page loads). When on, your checkouts count toward public-facing stats: your leaderboard rank, the retailer mix and daily activity on your public profile, and the public checkout feed. Off by default.

Request body

application/json
publicStats
boolean
required
{
  "publicStats": true
}

Code samples

cURL
curl -X POST "https://shippified.net/api/account/public-stats" \
  -H "Content-Type: application/json" \
  -d '{"publicStats":true}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated.
{
  "publicStats": true,
  "state": {}
}
400 publicStats isn't a boolean.
{
  "error": "string"
}
401 Not authenticated.
POST https://shippified.net/api/account/push-token

Register an Expo push token for mobile notifications.

The mobile app calls this on every launch. Registering the same token again is a no-op.

Request body

application/json
token
string
required
Expo push token, starting with ExponentPushToken[ or ExpoPushToken[.
platform
string
Any other value is stored as ios.
{
  "token": "ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]",
  "platform": "ios"
}

Code samples

cURL
curl -X POST "https://shippified.net/api/account/push-token" \
  -H "Content-Type: application/json" \
  -d '{"token":"ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]","platform":"ios"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Registered.
{
  "ok": true
}
400 Missing or not an Expo push token.
{
  "error": "string"
}
401 Not authenticated.
DELETE https://shippified.net/api/account/push-token

Unregister a push token (e.g. on sign-out).

Succeeds even if the token wasn't registered or the body is empty.

Request body

application/json
token
string
{
  "token": "string"
}

Code samples

cURL
curl -X DELETE "https://shippified.net/api/account/push-token" \
  -H "Content-Type: application/json" \
  -d '{"token":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Removed.
{
  "ok": true
}
401 Not authenticated.
GET https://shippified.net/api/account/export

Download everything the account owns as JSON.

Browser session only — API keys (sk_…) get 401. Includes the profile, settings, orders, email sources, bots, custom templates, subscriptions, shares, API key metadata and every stored intake message. Password hashes, verification/reset tokens, mailbox passwords and OAuth tokens, and API key hashes are left out. Sent with Content-Disposition: attachment.

Code samples

cURL
curl -X GET "https://shippified.net/api/account/export"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 The export file.
{
  "exportedAt": "2024-01-01T00:00:00Z",
  "account": {},
  "settings": {},
  "orders": [
    {
      "id": "ord_mpvu9uim_aeh5t",
      "userId": "string",
      "source": "discord",
      "storeLabel": "string",
      "store": "string",
      "itemSummary": "string",
      "orderNumber": "string",
      "total": "string",
      "salePriceCents": 0,
      "costCents": 0,
      "trackingNumber": "string",
      "carrier": "string",
      "shippingAddress": {
        "name": "string",
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": "string",
        "postalCode": "string",
        "country": "string"
      },
      "status": "ordered",
      "estimatedDelivery": "string",
      "actualDelivery": "string",
      "receivedAt": "2024-01-01T00:00:00Z",
      "createdAt": "2024-01-01T00:00:00Z"
    }
  ],
  "emailSources": [
    {
      "id": "string",
      "userId": "string",
      "provider": "imap",
      "label": "string",
      "address": "string",
      "status": "connected",
      "templateIds": [
        "string"
      ],
      "allowedSenders": [
        "string"
      ],
      "lastPolledAt": "2024-01-01T00:00:00Z",
      "lastError": "string",
      "rebuilding": true,
      "lastRebuild": {
        "status": "running",
        "message": "string",
        "startedAt": "2024-01-01T00:00:00Z",
        "finishedAt": "2024-01-01T00:00:00Z",
        "since": "2024-01-01T00:00:00Z",
        "removed": 0,
        "ingested": 0,
        "duplicates": 0,
        "ignored": 0,
        "dismissed": 0,
        "error": "string"
      }
    }
  ],
  "bots": [
    {
      "id": "string",
      "userId": "string",
      "slug": "string",
      "name": "string",
      "avatar": "string",
      "templateId": "string",
      "templateHint": "string",
      "samplePayload": "string",
      "outputWebhook": "string",
      "createdAt": "2024-01-01T00:00:00Z"
    }
  ],
  "customTemplates": [
    {}
  ],
  "subscriptions": [
    {
      "id": "string",
      "userId": "string",
      "name": "string",
      "costCents": 0,
      "currency": "USD",
      "frequency": "weekly",
      "startDate": "string",
      "endDate": "string",
      "category": "string",
      "notes": "string",
      "active": true,
      "createdAt": "2024-01-01T00:00:00Z"
    }
  ],
  "shares": [
    {
      "slug": "string",
      "userId": "string",
      "displayName": "string",
      "createdAt": "2024-01-01T00:00:00Z",
      "timeframe": "7d",
      "include": {
        "stats": true,
        "checkouts": true
      }
    }
  ],
  "apiKeys": [
    {
      "id": "string",
      "name": "string",
      "prefix": "string",
      "scope": "read",
      "createdAt": "2024-01-01T00:00:00Z",
      "lastUsedAt": "2024-01-01T00:00:00Z"
    }
  ],
  "intakeMessages": [
    {}
  ]
}
401 Not signed in, or called with an API key.
DELETE https://shippified.net/api/account

Permanently delete the account and all its data.

Irreversible. Browser session only — API keys (sk_…) get 401, so a leaked key can't delete the account. You must type the account's email back (case-insensitive) to confirm.

Request body

application/json
confirmEmail
string
required
{
  "confirmEmail": "string"
}

Code samples

cURL
curl -X DELETE "https://shippified.net/api/account" \
  -H "Content-Type: application/json" \
  -d '{"confirmEmail":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Deleted.
{
  "ok": true
}
400 confirmEmail is missing or doesn't match the account email.
{
  "error": "string"
}
401 Not signed in, or called with an API key.
404 Account not found.
Updated