pasbydocs
Resources

Integration recipes

End-to-end scenarios for mobile login, web signing, and document review.

Mobile app login (v2)

  1. GET /api/health/check (optional)
  2. POST /api/v2/identification/same-device with action: login and claims
  3. Extract flow id from data
  4. Poll POST /api/v2/flow/ping every 2s
  5. Create your app session from returned claims
  6. On cancel → POST /api/v2/flow/cancel

Web cross-device sign (v2)

  1. POST /api/v2/signing/different-device with action: sign + webhook
  2. Show waiting UI
  3. Track via SSE or ping loop
  4. Process webhook at reference
  5. Finalize order server-side
  6. On browser close → cancel flow

Document review (v2)

  1. POST /api/v2/document/review with signees + PDF URL + webhook
  2. Monitor ping/SSE
  3. Process webhook events per signee
  4. If stalled → POST /api/v2/document/refresh

Legacy v1 web identification

Only for existing integrations:

  1. GET /api/v1/flow/authorize — save x-access-token
  2. POST /api/v1/identification/different-device
  3. POST /api/v1/flow/polling until complete

New projects should use v2 or OIDC.

On this page