POST/api/pingAuthenticated

Authenticated ping

Returns a pong for any signed-in user. Accepts the access token either as a Bearer header (what the account page's test button sends) or as the first-party access token cookie.

operationId post_api_pingAccount

Authentication & permissionsAuthenticated

Any authenticated user

Accepted credentials
Who may call
Any authenticated user

Responses

application/json
PropertyTypeDescription
message*"Pong!"
timestamp*integer

Unix epoch milliseconds when the response was produced

JSONExample
"message""Pong!"
"timestamp"1757000000000

Example request

bashcurl
curl -X POST 'https://example-nextjs-resource-server.schemavaults.com/api/ping' \
  -H 'Authorization: Bearer <access_token>'