Skip to main content
POST
/
access_methods
/
encode
{
  "action_attempt": {
    "action_attempt_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "result": {},
    "error": {
      "type": "<string>",
      "message": "<string>"
    }
  },
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
access_method_id
string<uuid>
required

ID of the access_method to encode onto a card.

acs_encoder_id
string<uuid>
required

ID of the acs_encoder to use to encode the access_method.

Response

OK

action_attempt
object
required

Tracks the progress of this operation. Poll using the action_attempt_id.

ok
boolean
required