Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
contact:
email: support@scrip.dev
name: Scrip Support
description: 'Scrip is the operating system for rewards programs. Use this REST API to send events, read balances and history, trigger redemptions, and configure programs, assets, rules, tiers, and rewards. Full guides and reference: https://docs.scrip.dev
Base URLs:
- **Sandbox:** `https://api-sandbox.scrip.dev` (keys start with `sk_test_`)
- **Production:** `https://api.scrip.dev` (keys start with `sk_live_`)
Authentication & headers:
- Pass `Authorization: Bearer ` on every request.
- Pass `Content-Type: application/json` on requests with a JSON body.
Response envelopes:
- **List endpoints** return `{"data": [...], "pagination": {"has_more": false, "next_cursor": null}}`.
- **Single-resource endpoints** return the resource object directly.
- **Errors** return `{"type": "...", "code": "...", "message": "...", "request_id": "...", "doc_url": "..."}` (plus `param`, `fields`, or `details` when applicable). Match on `code` in your error handling and include `request_id` when contacting support.
Participant identifiers: every `{participant_id}` path accepts either Scrip''s UUID or `ext:` followed by your own `external_id` (for example, `/v1/participants/ext:user_123/balances`).
Idempotency: every operation carries `x-scrip-idempotency` (`replay`, `conflict_safe`, `natural_key`, or `none`). On `replay` routes, repeating a request with the same `Idempotency-Key` within 24 hours returns the original response with `Idempotent-Replayed: true`.'
license:
name: Proprietary
termsOfService: https://scrip.dev/terms
title: Scrip Events API
version: '1.0'
servers:
- description: Production
url: https://api.scrip.dev
- description: Sandbox
url: https://api-sandbox.scrip.dev
tags:
# --- truncated at 32 KB (122 KB total) ---
# Full source: https://artifacts.apis.io/scrip-dev/openapi/scrip-dev-events-api-openapi.yml