Create a User Identity

POST /user_identities/create ⇒ { user_identity }

Creates a new user identity.

Request

await seam.userIdentities.create({
  user_identity_key: "jean_doe",
  email_address: "jean@example.com",
  phone_number: "+15555550110",
  full_name: "Jean Doe",
});

Response

{
  "user_identity_id": "48500a8e-5e7e-4bde-b7e5-0be97cae5d7a",
  "user_identity_key": "jean_doe",
  "email_address": "jean@example.com",
  "phone_number": "+15555550110",
  "display_name": "Jean Doe",
  "full_name": "Jean Doe",
  "created_at": "2024-01-11T05:37:50.264Z",
  "workspace_id": "398d80b7-3f96-47c2-b85a-6f8ba21d07be"
}

Request Parameters

email_address

Type: string Required: No

Unique email address for the user identity.


full_name

Type: string Required: No

Full name of the user associated with the user identity.


phone_number

Type: string Required: No

Unique phone number for the user identity in E.164 format (for example, +15555550100).


user_identity_key

Type: string Required: No

Unique key for the user identity.


Return Type

user_identity

Last updated

Logo

© Seam Labs, Inc. All rights reserved.