Get all notes
List notes owned by the user. This API contains pagination. Read more about pagination
Query Parameters
A cursor for pagination, used to fetch the next set of results.
Possible values: >= 1
and <= 50
Default value: 20
The maximum number of notes to return, defaults to 20.
Possible values: [newest
, oldest
]
Default value: newest
The sorting order of the notes, defaults to newest first.
- 200
- 403
- 404
- 422
- 500
Request has been handled successfully.
Schema
- Array [
- Array [
- ]
- ]
data object[]
The unique identifier of the note.
The creation date of the note.
The last update date of the note.
Possible values: >= 6 characters
and <= 10000 characters
The main content of the note, must be between the specified minimum and maximum length.
The source of the note.
attachedEntities object[]
An array of attached entities associated with the note.
The unique identifier for the attached entity.
Possible values: [reflection
]
The type of the attached entity, must be one of the predefined NoteEntityType values.
entityMetadata object
Additional metadata for the attached entity.
Possible values: Value must match regular expression ^(\d+):(\d+)-(\d+):(\d+)$
An array of verse ranges associated with the note.
pagination object
{
"success": true,
"data": [
{
"id": "asdasdqwe1231",
"createdAt": "2023-01-21T07:28:13.023Z",
"updatedAt": "2023-01-22T07:28:13.023Z",
"body": "This is a sample note body.",
"source": "we23412312weq",
"attachedEntities": [
{
"entityId": "entity123",
"entityType": "reflection",
"entityMetadata": {
"key": "value"
}
}
],
"ranges": [
"2:255-2:257"
]
}
],
"pagination": {
"startCursor": "cm4v8am0o00027iq97l0sbkl4",
"endCursor": "cm4v8am0p00037iq9dwbo61rg",
"hasNextPage": true,
"hasPreviousPage": false
}
}
Forbidden error. Can either be due to access token not being passed, having been expired or the caller trying to access a resource without enough permissions.
Schema
error object
{
"success": false,
"error": {
"code": "ForbiddenError",
"message": "Token expired"
}
}
Not Found. The resource being accessed does not exist.
Schema
error object
{
"success": false,
"error": {
"code": "NotFoundError",
"message": "The resource you're looking for does not exist"
}
}
Validation Error. The request includes one or more invalid params. Please check the request params and try again.
Schema
error object
{
"success": false,
"error": {
"code": "ValidationError",
"message": "`id` is required"
}
}
Server Error. Something went wrong, try again later.
Schema
error object
{
"success": false,
"error": {
"code": "ServerError",
"message": "Something went wrong"
}
}