Get a page
curl --request GET \
--url https://api.webstashai.com/pages/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/pages/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/pages/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"url": "<string>",
"title": "<string>",
"domain": "<string>",
"status": "<string>",
"saved_at": "2023-11-07T05:31:56Z",
"primary_tag": "<string>",
"secondary_tag": "<string>",
"source": "<string>"
}{
"error": "<string>"
}Get a page
GET
https://api.webstashai.com
/
pages
/
{id}
Get a page
curl --request GET \
--url https://api.webstashai.com/pages/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.webstashai.com/pages/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/pages/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "<string>",
"url": "<string>",
"title": "<string>",
"domain": "<string>",
"status": "<string>",
"saved_at": "2023-11-07T05:31:56Z",
"primary_tag": "<string>",
"secondary_tag": "<string>",
"source": "<string>"
}{
"error": "<string>"
}