
linked_account_id
. This ID can be anything you want, but it must be unique.
Most of the time, the linked_account_id is an ID from your internal data model that represents a user or account in your system. For example, if you have a user in your system with the ID account:12345
, you could use that ID as the linked_account_id for your Cobalt Linked Account.
Auth tokens and User configurations will be stored against the Linked account id of each user.
To learn more about Linked Accounts, you can refer to the Linked Accounts Guide here.
Using Cobalt API or SDK
Use the Upsert Linked Account API call below or the .upsertLinkedAccount() method of the NodeJS SDK to create or update a linked account.Param | Required | Type | Description |
---|---|---|---|
linked_account_id | Mandatory | String | Unique customer identifier |
name | Optional | String | Name of the customer |
UDF | Optional | Object | User specific preliminary data |
your_app | Optional | Object | Auth specific data |
Param | Required | Type | Description |
---|---|---|---|
auth_credentials | Optional | Object | Your customer api credentials for pushing data to your api end point |
your_app is an optional param which contains details of your application associated with your account.
Response
Linked Accounts
in the side menu.

Checkpoint + Next Step
After completing this step, you have successfully created Linked Accounts of your end-users. This will now allow your clients to make a request to the Cobalt APIs successfully by using their Session Tokens which we will create in the next step.