Get user links πŸ”—

This endpoint returns a linked account's details by passing its ID.

Endpoint

GET

https://api.thepeer.co/link/{{LINK_ID}}
URL ParameterDescription
{{LINK_ID}}the id of a user's linked account

Sample response

{
"link": {
"id": "jump-out-the-house",
"user": {
"name": "Playboi Carti",
"identifier": "playboi",
"identifier_type": "username",
"email": "carti@playboi.com",
"reference": "king-vamp-king-vamp",
"created_at": "2021-04-17T16:28:18.000000Z",
"updated_at": "2021-05-04T08:37:22.000000Z"
},
"peer": {
"user": {
"name": "Kanye West",
"identifier": "kanye@west.com",
"identifier_type": "email",
"email": "kanye@west.com",
"reference": "donda-donda-donda-donda",
"created_at": "2021-04-16T05:19:33.000000Z",
"updated_at": "2021-04-16T05:36:07.000000Z"
},
"business": {
"id": "pure-soul-to-the-moon",
"name": "Cash App",
"logo": "https://cdn.cashapp.com/logo.jpg",
"logo_colour": "#28c101",
"identifier_type": "email"
}
},
"created_at": "2021-06-21T11:55:54.000000Z",
"updated_at": "2021-06-21T11:55:54.000000Z"
}
}

Let’s go invent tomorrow rather than worrying about what happened yesterday.

β€” Steve Jobs