relay-inbox

Archive/Unarchive Inbox Email

Set the archived state of an owned inbox email. archived: true stamps archivedAt = now (moves it to the Archived view); archived: false clears it (restores to the active inbox). Scoped to the user's own relay rows.

patch/relay-inbox/{id}/archive

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/relay-inbox/{id}/archive
  • Auth: HTTP bearer

Path parameters

idstring required

synced_email row id (the inbox message)

Example:1

Request body

archivedboolean required

true → archive (stamp archivedAt = now); false → restore to inbox (clear archivedAt).

Example request

{
  "archived": true
}

Response

Archive state updated

successtrue required

Example response

{
  "data": {
    "id": 9001
  },
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.