reflect
A newer version of this packageis available.
This API is for the note-taking app Reflect.
It supports appending data to your notes, returning a list of the links you've bookmarked, and a few other things.
We don't have any official bindings, w...read more
Authentication
OAuth2 Authentication
Reflect OAuth
Type
oauth2
Authorization URL:
https://reflect.app/oauthToken URL:
https://reflect.app/api/oauth/tokenRefresh URL:
Scopes:
read:graph
Read access to protected resources
write:graph
Write access to protected resources
Graphs
get/graphs/{graphId}/books
Returns all books
Path parameters
- Name
graphId- Type
- string
- Required
- Description
Your graph identifier
Response
JSON
[
{
"id": "string",
"asin": "string",
"title": "string",
"authors": [
"string"
],
"notes": [
{
"type": "string",
"page": 0,
"location": 0,
"value": "string"
}
]
}
]post/graphs/{graphId}/books/sync
Sync new books and highlights
Path parameters
- Name
graphId- Type
- string
- Required
- Description
Your graph identifier
Body params
- Name
books- Type
- array[object]
- Name
id- Type
- string
- Required
- Name
asin- Type
- string
- Required
- Description
- Amazon Standard Identification Number
- Name
title- Type
- string
- Required
- Description
- Book title
- Name
authors- Type
- array[string]
- Description
- Array of book author names
- Name
notes- Type
- array[object]
- Description
- Array of book notes
- Name
type- Type
- string
- Required
- Description
- Type of note
- Name
page- Type
- integer
- Description
- Page number of note (if applicable)
- Name
location- Type
- integer
- Description
- Location of note (if applicable)
- Name
value- Type
- string
- Description
- Note contents
Response
JSON
{
"success": true
}get/graphs/{graphId}/links
Returns all links
Path parameters
- Name
graphId- Type
- string
- Required
- Description
Your graph identifier
Response
JSON
[
{
"id": "string",
"url": "string",
"title": "string",
"description": "string",
"updated_at": "string",
"highlights": [
"string"
]
}
]post/graphs/{graphId}/links
Create a new link
Path parameters
- Name
graphId- Type
- string
- Required
- Description
Your graph identifier
Body params
- Name
id- Type
- string
- Name
url- Type
- string
- Required
- Name
title- Type
- string
- Name
description- Type
- string
- Name
updated_at- Type
- string
- Name
highlights- Type
- array[string]
Response
JSON
{
"id": "string",
"url": "string",
"title": "string",
"description": "string",
"updated_at": "string",
"highlights": [
"string"
]
}put/graphs/{graphId}/daily-notes
Appends to daily note
Path parameters
- Name
graphId- Type
- string
- Required
- Description
Your graph identifier
Body params
- Name
date- Type
- string
- Description
- Date of the daily note. ISO 8601 format
- Name
text- Type
- string
- Description
- Text to append to the daily note
- Name
transform_type- Type
- string
- Description
- Transform type to apply to the text
- Name
list_name- Type
- string
- Description
- Name of the list to append to
Response
JSON
{
"success": true
}Users
get/users/me
Returns current user
Response
JSON
{
"uid": "string",
"email": "string",
"name": "string",
"graph_ids": [
"string"
]
}