Back to notes

BFF Writes and Auth

Server-side writes

Create notes through a Route Handler that uses the project API token.

  1. Sign in as a project user
  2. Open the protected new-note form
  3. The BFF calls me() then content.create with author-name / author-user-id

Never put ELMAPI_API_KEY in the browser.