Users

Creates an identity for a user.

<div> <code>create:user_identities</code> </div>
post/api/v1/users/{user_id}/identities

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/users/{user_id}/identities
  • Auth: HTTP bearer

Path parameters

user_idstring required

The user's ID.

Request body

valuestring

The email address, social identity, or username of the user.

type'email' | 'username' | 'phone' | 'enterprise' | 'social'

The identity type

phone_country_idstring

The country code for the phone number, only required when identity type is 'phone'.

connection_idstring

The social or enterprise connection ID, only required when identity type is 'social' or 'enterprise'.

Example request

{
  "value": "sally@example.com",
  "type": "email",
  "phone_country_id": "au",
  "connection_id": "conn_019289347f1193da6c0e4d49b97b4bd2"
}

Response

Identity successfully created.

messagestring
codestring

Changes

    • breaking

      added the new required header request parameter Accept to all path's operations

    • info

      the endpoint scheme security kindeBearerAuth was added to the API

    • info

      the endpoint scheme security ManagementAPI was removed from the API

    • breaking

      removed the success response with the status

    • info

      added the new optional request property

    • info

      added the new social enum value to the request property

    • info

      added the success response with the status