Skip to main content

Get Linked Account

Get Linked Account

This endpoint returns a user's linked account's details.

Endpoint Get

Path Parameter

NameDescriptionRequiredData type
LINK_IDThe link’s identifiertrueString
Sample response
{
"link": {
"id": "LINK_IDENTIFIER",
"user": {
"name": "Michael Okoh",
"identifier": "trojin",
"identifier_type": "username",
"email": "trojan@thepeer.co",
"reference": "the-nothing-the-ghost",
"created_at": "2021-04-17T16:28:18.000000Z",
"updated_at": "2021-05-04T08:37:22.000000Z"
},
"peer": {
"user": {
"name": "Chike Ononye",
"identifier": "chike@thepeer.co",
"identifier_type": "email",
"email": "chike@thepeer.co",
"reference": "design-wise-design-god",
"created_at": "2021-04-16T05:19:33.000000Z",
"updated_at": "2021-04-16T05:36:07.000000Z"
},
"business": {
"id": "BUSINESS_IDENTIFIER",
"name": "Thepeer",
"logo": "https://cdn.thepeer.com/logo.jpg",
"logo_colour": "#0067FF",
"identifier_type": "email"
}
},
"created_at": "2021-06-21T11:55:54.000000Z",
"updated_at": "2021-06-21T11:55:54.000000Z"
}
}