Get a contact channel
Retrieves a specific contact channel by the user ID and the contact channel ID.
Path parameters
user_id
the user that the contact channel belongs to
contact_channel_id
the target contact channel
Query parameters
user_id
The ID of the user, or the special value me
for the currently authenticated user
contact_channel_id
Response
Successful response
user_id
The unique identifier of the user
id
The unique identifier of the contact channel
value
The value of the contact channel. For email, this should be a valid email address.
type
The type of the contact channel. Currently only "email" is supported.
used_for_auth
Whether the contact channel is used for authentication. If this is set to true
, the user will be able to sign in with the contact channel with password or OTP.
is_verified
Whether the contact channel has been verified. If this is set to true
, the contact channel has been verified to belong to the user.
is_primary
Whether the contact channel is the primary contact channel. If this is set to true
, it will be used for authentication and notifications by default.