Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Reference Authentication API
version: 1.0.0
servers:
- url: https://api.withverifa.com
description: https://api.withverifa.com
tags:
- name: Authentication
paths:
/api/v1/auth/refresh:
post:
operationId: authentication_refreshAuthSession
summary: Refresh the dashboard session cookie
description: 'Issues a fresh `vk_org_token` cookie for the currently authenticated
dashboard user, extending the session for another 8 hours from now.
The dashboard SPA calls this on a periodic timer (and on focus/route
change) so users actively working in the app are not hard-logged-out
when their original 8h JWT expires mid-task.
The request body is empty — the caller is identified by the existing
`vk_org_token` cookie. On success, the response sets a new
`vk_org_token` cookie (httpOnly, Secure, SameSite=Lax, Max-Age=28800).'
tags:
- Authentication
parameters:
- name: Verifa-Version
in: header
description: 'API version date string (e.g. `2026-02-01`). If omitted, the version
pinned to your API key is used.
'
required: false
schema:
type: string
format: date
responses:
'200':
description: Session extended; a fresh `vk_org_token` cookie is set.
content:
application/json:
schema:
$ref: '#/components/schemas/Authentication_refreshAuthSession_Response_200'
'401':
description: No active session cookie, or the cookie is invalid/expired.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
properties:
error:
type: string
description: Short error code.
detail:
type: string
description: Human-readable error description.
status_code:
type: integer
description: HTTP status code.
required:
- error
- status_code
title: Error
Authentication_refreshAuthSession_Response_200:
type: object
properties:
refreshed:
type: boolean
required:
- refreshed
title: Authentication_refreshAuthSession_Response_200
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: 'Organization API key. Keys are prefixed with `vk_live_` (production) or
`vk_sandbox_` (sandbox).
'
BearerAuth:
type: http
scheme: bearer
description: 'Admin JWT token via `Authorization: Bearer <token>`.'