Skip to main content
POST
/
memories
/
reject
/
{source}
/
{resource_id}
Reject a pending resource
curl --request POST \
  --url https://api.hyperspell.com/memories/reject/{source}/{resource_id} \
  --header 'Authorization: Bearer <token>'
{
  "resource_id": "<string>",
  "source": "reddit",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Path Parameters

source
enum<string>
required
Available options:
reddit,
notion,
slack,
google_calendar,
google_mail,
box,
dropbox,
google_drive,
github,
vault,
web_crawler,
trace,
microsoft_teams
resource_id
string
required

Response

Successful Response

Response after approving or rejecting a resource.

resource_id
string
required
source
enum<string>
required
Available options:
reddit,
notion,
slack,
google_calendar,
google_mail,
box,
dropbox,
google_drive,
github,
vault,
web_crawler,
trace,
microsoft_teams
status
enum<string>
required
Available options:
pending,
processing,
completed,
failed,
pending_review,
skipped