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 Contact 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: Contact
description: Write operations for general contact messages.
paths:
/api/public/v1/contact:
post:
operationId: submitContactRequest
tags:
- Contact
summary: Submit a contact request
description: WRITE. Validates and stores a general contact message. Same rate limiting, honeypot and idempotency behaviour as application submissions. Messages are stored privately and are never readable through this API.
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ContactRequest'
responses:
'200':
description: An identical submission already existed; the original receipt is returned (idempotent).
content:
application/json:
schema:
$ref: '#/components/schemas/SubmissionReceipt'
'201':
description: Submission stored.
content:
application/json:
schema:
$ref: '#/components/schemas/SubmissionReceipt'
'400':
$ref: '#/components/responses/ValidationError'
'413':
description: Request body larger than 32 KB.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
'504':
description: The backend did not respond in time.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
SubmissionReceipt:
type: object
title: SubmissionReceipt
description: Confirmation that a submission was stored. Deliberately echoes none of the submitted personal data and exposes no internal database fields.
properties:
data:
type: object
description: Receipt for the stored submission. Never echoes the submitted content.
properties:
id:
type:
- string
- 'null'
format: uuid
description: Identifier of the stored submission.
createdAt:
type:
- string
- 'null'
format: date-time
description: When the submission was stored.
status:
type: string
enum:
- received
description: Always "received".
duplicate:
type: boolean
description: True when an identical submission already existed; no new record was created.
required:
- id
- createdAt
- status
- duplicate
additionalProperties: false
required:
- data
additionalProperties: false
ContactRequest:
type: object
title: ContactRequest
description: Fields accepted when submitting a contact message. Unknown properties are rejected.
properties:
name:
type: string
minLength: 2
maxLength: 120
description: Sender's name.
email:
type: string
format: email
minLength: 3
maxLength: 254
description: Contact email address.
subject:
type: string
maxLength: 160
description: Optional subject line.
message:
type: string
minLength: 5
maxLength: 2000
description: Message body.
website:
type: string
maxLength: 0
description: Anti-spam honeypot. Must be empty or omitted; any value rejects the request.
required:
- name
- email
- message
additionalProperties: false
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
responses:
UnprocessableEntity:
description: The request body failed server-side validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: VALIDATION_ERROR
message: The request contains invalid data.
details:
email: Must be a valid email address.
InternalError:
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: INTERNAL_ERROR
message: Unexpected server error
details: {}
RateLimited:
description: Too many submissions from this client.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: RATE_LIMITED
message: Too many submissions. Please try again later.
details:
retryAfterSeconds: 600
ValidationError:
description: One or more query parameters are invalid.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
error:
code: VALIDATION_ERROR
message: Invalid request
details:
limit: Must be an integer between 1 and 100.