Skip to content
TastePolicy.Open workspace

DEVELOPER GUIDE

REST quickstart

Keep the credential on your server. Begin with a Passport read, then evaluate one candidate under an explicit action ceiling.

Integration steps

  1. Create an account, enroll a private Passport from five reviewed cultural identities and issue a credential in the workspace.
  2. Give the credential only the scopes your application needs: PASSPORT_READ, TASTE_EVALUATE and, when needed, RECEIPT_READ.
  3. Use a new idempotency key for a new request. An identical retry keeps its original input and captured result; reusing a key with different input is an error.
  4. Branch explicitly on ALLOW, ASK, REJECT and UNAVAILABLE. A preference decision never authorizes payment, booking, messaging or account operations.
curl https://tastepolicy.vercel.app/api/v1/passport \
  -H "Authorization: Bearer $TASTEPOLICY_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"passportRef":"YOUR_PASSPORT_REF"}'

All developer guides · Get support