Koko · OpenAPI Overlay 1.0.0

API Evangelist enhancements for the Koko Crisis Helplines API

5 actions 5 updates update extends openapi/koko-crisis-helplines-openapi.yml
Derived by API Evangelist Built from the contracts Koko publishes. Koko did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-providerx-apievangelist-harvestedx-apievangelist-notex-apievangelist-artifactsx-apievangelist-accessx-apievangelist-empty-resultx-apievangelist-safetyx-apievangelist-ordering

Targets 4

$.info
$.paths['/crisis_helplines'].get
$.paths['/crisis_helplines/countries'].get
$.components.schemas.Country.properties.countryI18nKey

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for the Koko Crisis Helplines API
  version: 1.0.0
extends: openapi/koko-crisis-helplines-openapi.yml
x-generated: '2026-07-19'
x-method: generated
x-source: openapi/koko-crisis-helplines-openapi.yml
actions:
  - target: $.info
    update:
      x-apievangelist-provider: koko
      x-apievangelist-harvested: '2026-07-19'
      x-apievangelist-note: >-
        Assembled from the two per-operation OpenAPI definitions Koko publishes on its
        ReadMe developer reference pages. Verified live against
        https://helpline-api.koko.ai/ on 2026-07-19.
  - target: $.info
    update:
      x-apievangelist-artifacts:
        authentication: authentication/koko-authentication.yml
        conventions: conventions/koko-conventions.yml
        errors: errors/koko-problem-types.yml
        lifecycle: lifecycle/koko-lifecycle.yml
        data_model: data-model/koko-data-model.yml
        conformance: conformance/koko-conformance.yml
        skills: skills/_index.yml
  - target: $.paths['/crisis_helplines'].get
    update:
      x-apievangelist-access: >-
        Public and unauthenticated, but gated by a server-side CORS origin allowlist.
        Unregistered origins receive HTTP 403 with a text/plain body.
      x-apievangelist-empty-result: >-
        An unknown country, or one with no helplines, returns HTTP 200 with an empty
        array — never a 404. Branch on array length, not status code.
      x-apievangelist-safety: >-
        Crisis-support content. Present helpline contact details verbatim; never
        paraphrase or substitute a phone number.
  - target: $.paths['/crisis_helplines/countries'].get
    update:
      x-apievangelist-ordering: >-
        Results are sorted alphabetically by countryI18nKey and deduplicated server-side.
      x-apievangelist-usage: >-
        Call this first to discover valid country values before calling getHelplines.
  - target: $.components.schemas.Country.properties.countryI18nKey
    update:
      x-apievangelist-warning: >-
        Field-name collision: on Country this carries the full country name
        ("United States"), while on Helpline the same field name carries a locale code
        ("en-US"). Do not assume one value space across both schemas.

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/koko-crisis-helplines-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.