Read what this token can do
curl --request GET \
--url https://api.investorlift.com/marketplace/v1/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.investorlift.com/marketplace/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.investorlift.com/marketplace/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"email_verified": true,
"phone_verified": true
},
"organization": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"role": "member",
"designations": [
"<string>"
]
},
"designations": [
"<string>"
],
"sides": [
"sell"
],
"scopes": [
"<string>"
],
"client_id": "<string>",
"trust": {
"tier": "T0",
"facts": [
{
"name": "<string>",
"value": true,
"source": "<string>"
}
],
"next_step": "<string>"
},
"caps": [
{
"action": "<string>",
"limit": 0,
"used": 0,
"remaining": 0,
"resets_at": "2023-11-07T05:31:56Z"
}
],
"terms": {
"sell": {
"accepted": true,
"agreement_id": "<string>"
},
"buy": {
"accepted": true,
"agreement_id": "<string>"
}
},
"environment": "sandbox",
"api_version": "<string>"
},
"meta": {
"request_id": "<string>",
"api_version": "<string>"
}
}{
"type": "https://developers.investorlift.com/marketplace/errors#unauthorized",
"title": "Not authenticated",
"status": 401,
"code": "unauthorized",
"detail": "<string>",
"recovery": "Send a current access token for this API, and start a new authorization when the token is expired.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#forbidden",
"title": "Refused",
"status": 403,
"code": "forbidden",
"detail": "<string>",
"recovery": "Ask Investorlift support why the account, the client or the organization is stopped.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "<string>",
"recovery": "Use one of the methods the documentation lists for this path.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#origin_error",
"title": "Service unavailable",
"status": 503,
"code": "origin_error",
"detail": "<string>",
"recovery": "Repeat the call in a minute, and tell Investorlift support when the answer stays the same.",
"request_id": "<string>"
}Reference: me
Read what this token can do
Reads the account behind this token: the person, the organization and the role.
GET
/
me
Read what this token can do
curl --request GET \
--url https://api.investorlift.com/marketplace/v1/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.investorlift.com/marketplace/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.investorlift.com/marketplace/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"user": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"email_verified": true,
"phone_verified": true
},
"organization": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"role": "member",
"designations": [
"<string>"
]
},
"designations": [
"<string>"
],
"sides": [
"sell"
],
"scopes": [
"<string>"
],
"client_id": "<string>",
"trust": {
"tier": "T0",
"facts": [
{
"name": "<string>",
"value": true,
"source": "<string>"
}
],
"next_step": "<string>"
},
"caps": [
{
"action": "<string>",
"limit": 0,
"used": 0,
"remaining": 0,
"resets_at": "2023-11-07T05:31:56Z"
}
],
"terms": {
"sell": {
"accepted": true,
"agreement_id": "<string>"
},
"buy": {
"accepted": true,
"agreement_id": "<string>"
}
},
"environment": "sandbox",
"api_version": "<string>"
},
"meta": {
"request_id": "<string>",
"api_version": "<string>"
}
}{
"type": "https://developers.investorlift.com/marketplace/errors#unauthorized",
"title": "Not authenticated",
"status": 401,
"code": "unauthorized",
"detail": "<string>",
"recovery": "Send a current access token for this API, and start a new authorization when the token is expired.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#forbidden",
"title": "Refused",
"status": 403,
"code": "forbidden",
"detail": "<string>",
"recovery": "Ask Investorlift support why the account, the client or the organization is stopped.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "<string>",
"recovery": "Use one of the methods the documentation lists for this path.",
"request_id": "<string>"
}{
"type": "https://developers.investorlift.com/marketplace/errors#origin_error",
"title": "Service unavailable",
"status": 503,
"code": "origin_error",
"detail": "<string>",
"recovery": "Repeat the call in a minute, and tell Investorlift support when the answer stays the same.",
"request_id": "<string>"
}Was this page helpful?