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: VA Heroes PH Public Content System API
version: 1.0.0
summary: Read-only access to VA Heroes PH public website content.
description: 'Public, unauthenticated API for the content published on the VA Heroes PH website: Hero Paths (training and sales career tracks), Hero Stories, impact statistics, published FAQs and organization information.
Read endpoints expose only content already visible on https://www.vaheroesph.com. Write endpoints accept application and contact submissions; submitted data is stored privately and can never be read, listed, modified or deleted through this API. The embedded third-party application form on /careers continues to operate independently of these endpoints.
Every request and response object is defined once as a reusable JSON Schema (Draft 2020-12); the same definitions enforce server-side request validation and are published at /api/public/v1/schemas. All responses include an x-request-id header, repeated as error.requestId in error envelopes; browser CORS is limited to the VA Heroes PH origins.
Security: no API keys, tokens or credentials are accepted or required, and any Authorization header is ignored. Reads are cacheable; write responses and errors are never cached. Write endpoints enforce schema validation (422), a 32 KB body limit (413), an invisible spam honeypot, idempotent de-duplication and a rate limit of 5 submissions per 10 minutes per client (429 with Retry-After).'
contact:
name: VA Heroes PH
url: https://www.vaheroesph.com/careers
servers:
- url: https://www.vaheroesph.com
description: Production
security: []
tags:
- name: System
description: Organization metadata, service health and the API specification itself.
paths:
/api/public/v1/organization:
get:
operationId: getOrganization
tags:
- System
summary: Get organization information
description: 'READ. Returns public organization details: name, website, logo, description, social profiles and the public application page URL.'
security: []
responses:
'200':
description: Organization information.
content:
application/json:
schema:
$ref: '#/components/schemas/SiteInfo'
'500':
$ref: '#/components/responses/InternalError'
/api/public/v1/health:
get:
operationId: getHealth
tags:
- System
summary: Service health and readiness check
description: READ. Liveness by default. With ?ready=true the endpoint also probes the database dependency and returns 200 when ready or 503 when degraded. Exposes status words, booleans and a latency figure only — never hostnames, connection strings, environment values or error details.
security: []
responses:
'200':
description: Service is healthy.
content:
application/json:
schema:
$ref: '#/components/schemas/Health'
'500':
$ref: '#/components/responses/InternalError'
'503':
description: A dependency is unavailable; the service is degraded.
content:
application/json:
schema:
$ref: '#/components/schemas/Health'
parameters:
- name: ready
in: query
required: false
description: Set to true to run the readiness probe (API + database).
schema:
type: string
enum:
- 'true'
/api/public/v1/openapi:
get:
operationId: getOpenApiSpec
tags:
- System
summary: Get this OpenAPI specification
description: READ. Returns this OpenAPI 3.1 document as JSON for API clients, AI agents and MCP servers.
security: []
responses:
'200':
description: The OpenAPI document.
content:
application/json:
schema:
type: object
additionalProperties: true
'500':
$ref: '#/components/responses/InternalError'
/api/public/v1/schemas:
get:
operationId: getJsonSchemas
tags:
- System
summary: Get the JSON Schema bundle
description: READ. Returns every request and response schema as a standalone JSON Schema Draft 2020-12 document (definitions under $defs). Identical to the components/schemas section of this specification and intended for code generation, automated testing and future MCP tool definitions.
responses:
'200':
description: JSON Schema 2020-12 bundle.
content:
application/json:
schema:
type: object
description: JSON Schema 2020-12 document with all definitions under $defs.
'500':
$ref: '#/components/responses/InternalError'
security: []
components:
schemas:
ErrorResponse:
type: object
title: ErrorResponse
description: Uniform error envelope returned by every endpoint.
properties:
error:
type: object
description: The error envelope. Contains no internal, infrastructure or stack information.
properties:
code:
type: string
enum:
- VALIDATION_ERROR
- NOT_FOUND
- METHOD_NOT_ALLOWED
- PAYLOAD_TOO_LARGE
- RATE_LIMITED
- TIMEOUT
- INTERNAL_ERROR
description: Machine-readable code.
message:
type: string
description: Human-readable summary, safe to display.
details:
type: object
description: Per-field validation messages or additional context. May be empty.
additionalProperties: true
requestId:
type: string
description: Correlation ID for this request, also returned in the x-request-id header. Quote it when reporting a failure; it exposes nothing internal.
required:
- code
- message
- details
additionalProperties: false
required:
- error
additionalProperties: false
Health:
type: object
title: Health
description: API liveness information. With ?ready=true the response also reports readiness of the API and its database dependency, as booleans and status words only — never infrastructure details.
properties:
status:
type: string
enum:
- ok
- degraded
description: '"ok" when the service is healthy, "degraded" when a dependency is unavailable.'
service:
type: string
description: Service identifier.
version:
type: string
description: API version identifier.
timestamp:
type: string
format: date-time
description: Server time of the response.
ready:
type: boolean
description: Readiness result. Present only on the readiness probe.
checks:
type: object
description: Dependency results. Present only on the readiness probe.
properties:
api:
type: string
enum:
- ok
description: Request pipeline is serving.
database:
type: string
enum:
- ok
- unavailable
description: Database reachability. No hostnames, credentials or error details.
databaseLatencyMs:
type: integer
minimum: 0
description: Round-trip duration of the database probe.
required:
- api
- database
additionalProperties: false
required:
- status
- version
- timestamp
additionalProperties: false
SiteInfo:
type: object
title: SiteInfo
description: Public organization and website information. No private contact data is included.
properties:
name:
type: string
description: Organization name.
url:
type: string
format: uri
description: Website home page.
logoUrl:
type: string
format: uri
description: Public logo image URL.
slogan:
type: string
description: Public slogan.
description:
type: string
description: Public organization description.
areaServed:
type: string
description: Primary area served.
socialProfiles:
type: array
description: Public social profile URLs.
items:
type: string
format: uri
applicationUrl:
type: string
format: uri
description: Public page hosting the job application form.
required:
- name
- url
- logoUrl
- slogan
- description
- areaServed
- socialProfiles
- applicationUrl
additionalProperties: false
responses:
InternalError:
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: INTERNAL_ERROR
message: Unexpected server error
details: {}