Skip to content

Point to customization API docs from identity SDK docs #246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions fern/docs/pages/sdks/web/user-identity.mdx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [EkLine]

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

Ensure you copy your access token, as you will not be able to view it again.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine]

Avoid using the term 'CRM'. (EK25015)

Using the `rev_info` method, you can generate and recognize a user within the DevRev system by providing relevant user details. This method enables you to convey information systematically, ensuring alignment between your DevRev CRM and the structured data model. For information regarding terminologies, click [here](https://devrev.ai/docs/product/grow).

Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Ensure that you follow the specified format when providing your phone number.

## Pass custom attributes

To create custom attributes, see [Object customization](https://devrev.ai/docs/product/object-customization).
To create custom attributes, see [Object customization](https://developer.devrev.ai/beta/guides/object-customization).

You can pass the custom attributes that are created as shown below:
```json
Expand All @@ -88,14 +88,14 @@ If you prefer a two-level structure, where users are directly associated with an
|`display_name` |The name of the user that's shown on the widget. |string |
|`phone_numbers` |The mobile number of the customer. |array |

**Attributes for workspaces**
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically done by the editor, can revert if needed.

**Attributes for workspaces**

|Attributes |Description |Type |
|---|---|---|
|`workspace_ref` |A unique reference for the user's workspace. If not provided, and an account reference is passed, the user is directly attached to the account. |string |
|`display_name` |The name of the workspace that's shown on the widget. |string |

**Attributes for accounts**
**Attributes for accounts**

|Attributes |Description |Type |
|---|---|---|
Expand All @@ -104,7 +104,7 @@ If you prefer a two-level structure, where users are directly associated with an
|`domains` |The domain names of the accounts that the users belongs to. |array |
| `phone_numbers` |The phone number associated with the account. |array |

## Pass the session token
## Pass the session token

While initializing the PLuG widget you pass the session token for DevRev to identify this user and thereby make the widget more customized for the user and their context.

Expand Down
Loading