POST
/api/pingAuthenticatedAuthenticated 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_pingAccountAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- SchemaVaults access token (Bearer)
Authorization: Bearer <JWT> - SchemaVaults access token (cookie)
cookie "access_token_<api_server_id>"
- SchemaVaults access token (Bearer)
- Who may call
- Any authenticated user
Responses
application/json
| Property | Type | Description |
|---|---|---|
| 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>'