Get Linked Account
Get Linked Account
This endpoint returns a user's linked account's details.
Endpoint Get
https://api.thepeer.co/link/{{LINK_ID}}
Path Parameter
Name | Description | Required | Data type |
---|---|---|---|
LINK_ID | The link’s identifier | true | String |
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"
}
}