Wellfriend DocumentsDevelopers

API Reference

Every API endpoint, documented.

Browse every endpoint with its scopes, parameters, responses and errors, plus an OpenAPI file for generating your own client.

Overview

What you get.

All requests go to https://wellfriend.dev/api/v2.

The reference lists every endpoint with the scopes it needs and whether it returns at once or runs in the background. The OpenAPI file covers request formats, errors, usage and the webhook events each call sends.

Step by step

Up and running in four steps.

  1. 01

    Find an endpoint

    Browse the reference, or call GET /api/v2/capabilities to list what your key can do.

  2. 02

    Check the details

    See the scopes, request format, idempotency key and the events the call sends.

  3. 03

    Handle every outcome

    Follow background jobs until they finish, download results, and map each error code to a message in your app.

  4. 04

    Catch changes early

    Run your tests against the OpenAPI file before you ship an update.

Built in

Documented means supported

Rely only on endpoints in this reference.

Consistent errors

Every error has an HTTP status, a stable code, a retry hint and a reference ID to quote to Support.

Paged lists

Lists return pages. Follow the cursor to get every item.