Generate a one-time-use registration token for a patient with a lifetime of 10 minutes.

post/api/v2/tokens/patient_registration/

Request

  • Base URL: https://app.spotdx.com
  • URL: https://app.spotdx.com/api/v2/tokens/patient_registration/
  • Auth: API key in header Authorization

Request body

patient_idstring required

UUID of a patient you've already created.

kit_typestring

If this is a multi-purpose kit, optionally specify the kit type it should become. For more information about multi-purpose kits, read the advanced kit workflows guide.

Example request

{
  "kit_type": "health_kit_1"
}

Response

tokenstring required

Example response

{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtYXgiOjEsInN1YiI6InBhdGllbnRfcmVnaXN0cmF0aW9uIiwibW9kIjoibiIsImp0aSI6MzYsImV4cCI6MTY2MTg4NjgzOCwiaWF0IjoxNjYxODg2MjM4fQ.byD8FThgvNGm3csx_QzrpZQUrsfFW3rmBU3mLQQlL2I"
}

Changes

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