Skip to content
Get an API key

Get started

Updated

Quickstart

Create an API key, send your first request to the helping.io API, continue it, and have the model remember a user across conversations. Five minutes, any language.

  • A payment card. Buying credits opens a checkout page that asks for one.
  • The owner role in your organization. Only the organization’s owner can buy credits. Signing up creates an organization with you as its owner; if you were invited to someone else’s organization, ask its owner to buy credits.
  1. Create an account.

    Sign up at app.helping.io, then open the link in the verification email. There are no monthly fees: you pay only for the calls you make. Pricing is on helping.io.

  2. Add credits.

    Requests are paid for in credits, and a request with no credits behind it is refused before it runs. When you first open the app as the owner of a new account, it goes straight to Dashboard → Management → Billing, where you add them. See Credits and billing.

  3. Create an API key.

    Open Dashboard → API Keys in the app and create a key. Owners and admins of the organization can create keys. The full secret, which starts with sk_, is shown once and cannot be recovered afterwards. Store it somewhere safe; if you lose it, rotate the key. See API keys.

    export HELPINGIO_API_KEY="sk_…"
  4. Send a request.

    Point any Responses API client at https://api.helping.io/v1.

    curl https://api.helping.io/v1/responses \
    -H "Authorization: Bearer $HELPINGIO_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "model": "anthropic/claude-sonnet-5-5",
    "input": "Say hello in exactly 3 words."
    }'

    If the request is refused, see If your first request fails.

  5. Read the reply.

    The response object’s output holds the assistant’s message, and usage holds the tokens you were charged for. The SDKs also give you the reply’s text on its own as output_text. The model writes a new reply each time, so your text will differ from the one below.

    {
    "background": false,
    "completed_at": 1767225600,
    "conversation": null,
    "created_at": 1767225600,
    "error": null,
    "frequency_penalty": 0.0,
    "helpingio:context": {
    "stored_tokens": 20,
    "window_tokens": 8000
    },
    "helpingio:cost": {
    "credits": "0.00036"
    },
    "id": "resp_ZXhhbXBsZS9yZXNwL2ZpcnN0LXR1cm4AAAAAAAAAAAAAAAAAAAAAAA",
    "incomplete_details": null,
    "instructions": null,
    "max_output_tokens": null,
    "max_tool_calls": null,
    "metadata": null,
    "model": "anthropic/claude-sonnet-5-5",
    "object": "response",
    "output": [
    {
    "content": [
    {
    "annotations": [],
    "logprobs": [],
    "text": "Hello there, friend.",
    "type": "output_text"
    }
    ],
    "id": "msg_00000000000000000000000000000001",
    "role": "assistant",
    "status": "completed",
    "type": "message"
    }
    ],
    "parallel_tool_calls": true,
    "presence_penalty": 0.0,
    "previous_response_id": null,
    "prompt_cache_key": null,
    "reasoning": null,
    "safety_identifier": null,
    "service_tier": "default",
    "status": "completed",
    "store": true,
    "temperature": 1.0,
    "text": {
    "format": {
    "type": "text"
    }
    },
    "tool_choice": "auto",
    "tools": [],
    "top_logprobs": 0,
    "top_p": 1.0,
    "truncation": "disabled",
    "usage": {
    "input_tokens": 100,
    "input_tokens_details": {
    "cache_write_tokens": 0,
    "cached_tokens": 0
    },
    "output_tokens": 20,
    "output_tokens_details": {
    "reasoning_tokens": 0
    },
    "total_tokens": 120
    }
    }
  6. Continue the conversation.

    Send the next turn with previous_response_id set to the id of the response you just got. You send only the new turn: the API keeps the conversation history.

    Set RESPONSE_ID to the id from the reply in step 4. It starts with resp_.

    curl https://api.helping.io/v1/responses \
    -H "Authorization: Bearer $HELPINGIO_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "previous_response_id": "'"$RESPONSE_ID"'",
    "input": "And again."
    }'
  7. Remember across conversations.

    Add helpingio:memory_id with your own user’s id. The model records facts the person shares, and a new conversation that sends the same id starts with what was recorded. The model chooses what to record, so it can miss something.

    curl https://api.helping.io/v1/responses \
    -H "Authorization: Bearer $HELPINGIO_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "model": "anthropic/claude-sonnet-5-5",
    "input": "I just moved to Lisbon.",
    "helpingio:memory_id": "user-8f2a"
    }'
    curl https://api.helping.io/v1/responses \
    -H "Authorization: Bearer $HELPINGIO_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
    "model": "anthropic/claude-sonnet-5-5",
    "input": "Which city do I live in?",
    "helpingio:memory_id": "user-8f2a"
    }'

    Neither request sends previous_response_id, so they are two conversations; the memory id is what connects them. Use your own user’s id, set on your server from the signed-in account. Memory stays inside the API key that recorded it. See Memory for listing and forgetting what’s kept.

These are the refusals a new account most often meets. None of them creates or charges anything, and retrying without the fix gets the same answer.

StatuscodeMeaning
401invalid_api_keyThe Authorization header is missing, malformed, or names a key that is not usable; check the key.
402payment_method_requiredThe organization has no payment method on file, so no request can be served; add one in the billing settings.
429insufficient_quotaThe organization has no active plan, or no credit balance to pay for the request; the message says which.
  • invalid_api_key: check that HELPINGIO_API_KEY holds the whole secret you copied when you created the key, and that the key is not revoked. A lost secret cannot be shown again; rotate the key or create a new one.
  • payment_method_required: the organization’s owner adds a card in Dashboard → Management → Billing, under Manage billing.
  • insufficient_quota: the message says whether the organization has no active plan or no credit balance. The owner buys credits in Dashboard → Management → Billing.

Every other code is on Errors.

Using a coding agent? Install the helping.io skill. Connecting Cline, Kilo or opencode? Set up a coding app.