Skip to main content

api.currentUser()

Returns the business current user synchronously. Saved Endpoints default to the invoking user, including end users without platform access. The instance or Endpoint currentUser policy can select EXECUTION_ACCOUNT instead. Jobs return their captured execution account. Permission checks follow the saved execution policy independently of this presentation setting. avatar is the Storage entry ID, not a signed download URL.

Signature

Example

See all api methods or runtime basics.
Last modified on November 8, 2026