Issue a six-digit door code

Issue a short-lived six-digit code bound to a proof, for staffed doors. The response includes code and expires_at.

post/v1/otp/issue

Request

  • Base URL: https://api.affix-io.com
  • URL: https://api.affix-io.com/v1/otp/issue
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

proof_digeststring

proof_digest returned by prove.

proof_refstring

proof_id returned by prove (e.g. pf_...). Used when proof_digest is omitted.

circuit_idstring
gate_idstring
labelstring

Your label. Not shown on the public status page.

ttl_secondsinteger
metaobject

Response

Carrier issued.

Changes

No recorded changes to this operation across all 1 revision of this API.