Set your environment
Read the key without echoing it, set your partner id, and point at production: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: Beareron every/v1call.- JSON in and out:
{ success, data }or{ success: false, error: { code, ... } }. Idempotency-Keyon writes (see Idempotency).- Call from your server, not a browser: production CORS blocks
/v1from 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