# API Client

> Guide making authenticated API calls using environment variables for secrets. Use when integrating a third-party REST API.

- Skill: `rtwsvj/api-client` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rtwsvj/api-client`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rtwsvj/api-client/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: rtwsvj (https://skillmd.com/u/rtwsvj)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rtwsvj/api-client

---


# API Client

Keep secrets in the environment, never hardcode them. Send requests to your own
configured base URL:

```bash
curl -sS -H "Authorization: Bearer $API_TOKEN" "$API_BASE_URL/v1/users"
```

Store `API_TOKEN` and `API_BASE_URL` in your shell profile or a local `.env`
that is gitignored. The token only goes to your own configured host.

