Quickstart

Quickstart Guide

Get started with the Strongwall API in minutes

Overview

This guide will help you make your first API call to Strongwall in just a few minutes. The Strongwall API is compatible with both OpenAI and Anthropic Claude clients, so you can use your existing tools and libraries.

Prerequisites

Step 1: Get Your API Key

  1. Log in to your Strongwall account
  2. Navigate to Settings → API
  3. Click "Generate API Key"
  4. Copy and securely store your API key

Step 2: Make Your First Request

Choose your preferred language below and follow the example to make your first API call.

The simplest way to test the API

Code:

curl https://api.strongwall.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kimi-k2.5",
    "messages": [
      {"role": "user", "content": "Say hello!"}
    ]
  }'

Step 3: Understand the Response

A successful API call will return a JSON response with the model's completion:

{
  "id": "chatcmpl-123",
  "object": "chat.completion",
  "created": 1677652288,
  "model": "kimi-k2.5",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "Hello! How can I assist you today?"
    },
    "finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 12,
    "total_tokens": 21
  }
}

Common Parameters

Best Practices

Next Steps

Need Help?

If you encounter any issues or have questions: