Skip to main content
Run these four checks from a server shell after you have made a partner API key in your partner’s workspace (Settings → API keys: see API keys). They prove the network, the key, your contract and your account standing. The integration guide (section 4) has the full curl commands and sample answers; this page is the checklist the marketing site and go-live list refer to.

Set your environment

Read the key without echoing it, set your partner id, and point at production:
You do not have the partner id before your first call. Run check 4 first, copy the id of your partner from its answer, and then run the others.

The four checks

Check 3 fails with 404 when Widgetic has not recorded your contract yet, and with 403 when the key is not your partner’s (the partner id belongs to another partner).

Rules every call follows

  • Authorization: Bearer on every /v1 call.
  • JSON in and out: { success, data } or { success: false, error: { code, ... } }.
  • Idempotency-Key on writes (see Idempotency).
  • Call from your server, not a browser: production CORS blocks /v1 from your site, and a key in the browser can be stolen. Browsers use public embed routes without a key (Embedding).

Next

Storage

Required before activation

Go live

Checklist before customers use widgets