Auto-authenticate a client
This endpoint is available to Group API Keys only.
Generates an auto-authentication token that allows a clinic client (pet parent) to be seamlessly signed into the Vetcove client shopping portal without requiring them to enter credentials.
This is typically used to provide a direct link from an application or client communication into the Vetcove shopping experience. The client is identified by their email address or phone number.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The ID of the clinic the client belongs to
The client's email address. At least one of client_email, client_phone_number, or clinic_client_user_id must be provided.
The client's phone number. At least one of client_email, client_phone_number, or clinic_client_user_id must be provided.
The ID of the clinic client user to authenticate. When provided, client_email and client_phone_number are ignored. At least one of client_email, client_phone_number, or clinic_client_user_id must be provided.
Response
Created
Schema for auto-auth response data.
The generated auto-authentication token.
The base URL for the Vetcove client shopping portal with the auto-auth token applied.
A URL for the Vetcove client shopping portal designed to be embedded in an iframe.
The expiry time of the token, as a Unix timestamp in seconds.
A URL for the Vetcove client shopping portal designed for fullscreen browser use.