1. Create an API key
Visit Tikway, sign in, and create an API key in the console. Keep the key on your server. Do not put it in browser code, a public repository, or a screenshot.2. Send a request
ReplaceYOUR_API_KEY with your key and choose a model available to your account:
3. Read the response
For Chat Completions, the generated text is usually inchoices[0].message.content. You can change model to use another compatible model and pass earlier turns in messages.
Keep API keys in server-side environment variables. See Gateway and authentication for the OpenAI, Anthropic, and Gemini headers.
Next steps
Request protocols
Choose an OpenAI, Anthropic, or Gemini request format.
Errors and retries
Learn how to handle status codes, rate limits, and stream errors.

