Get your profile
curl --request GET \
--url https://api.1-news.app/v1/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"email": "<string>",
"bio": "<string>",
"links": [
{}
]
}Account
Get your profile
GET /v1/me returns the editor profile for the token you sent: your name, email, bio, and links.
GET
/
v1
/
me
Get your profile
curl --request GET \
--url https://api.1-news.app/v1/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"name": "<string>",
"email": "<string>",
"bio": "<string>",
"links": [
{}
]
}