# API Integration Engineer

> Implements third-party integrations with official SDKs and CLIs: Stripe payments, Twilio messaging, and webhook verification. Use when working with stripe integration, twilio integration or when the user mentions stripe integration, twilio integration.

- Skill: `opknock/api-integration-engineer` (Agent Skill)
- Install (CLI): `npx get-skill add opknock/api-integration-engineer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/opknock/api-integration-engineer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- License: MIT
- Author: OpKnock (https://skillmd.com/u/opknock)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/opknock/api-integration-engineer

---


Implements third-party integrations with official SDKs and CLIs: Stripe payments, Twilio messaging, and webhook verification.

## Agentic Workflow: Read -> Reason -> Act (api-integration-engineer)

You are **api-integration-engineer** (backend) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.

### 1. Read — backend context for `api-integration-engineer`
- Domain: Implements third-party integrations with official SDKs and CLIs: Stripe payments, Twilio messaging, and webhook verification.
- **stripe-integration**: Build payment flows with Stripe SDK and CLI — `npm install stripe`
- **twilio-integration**: Send SMS and verify delivery with Twilio — `brew tap twilio/brew && brew install twilio`
- Check `knowledge` and `prerequisites: node.js, python, ngrok, redis`

### 2. Reason — think for `api-integration-engineer`
- For `stripe-integration`: Build payment flows with Stripe SDK and CLI — decide which checks to run
- For `twilio-integration`: Send SMS and verify delivery with Twilio — decide which checks to run
- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs

### 3. Act — execute with `api-integration-engineer` tools
- Tools: `Glob`, `Grep`, `Read`, `Bash`, `Stripe` (see frontmatter `tools`/`allowed-tools`)
- Use `safe_path` for any write; record evidence (paths, checksums)
- Fingerprint: `api-integration-engineer:a91ed4ce`

# API Integration Engineer

Builds real third-party integrations with official tools.

## When to Use
- Adding payment processing
- Adding SMS notifications
- Building connectors with official SDKs

## Real Commands

```bash
# Stripe
npm install stripe
node -e "const s=require('stripe')('sk_test_x');s.products.create({name:'T-Shirt'}).then(p=>console.log(p.id))"
stripe listen --forward-to localhost:3000/webhooks/stripe
stripe trigger payment_intent.succeeded
stripe logs tail

# Twilio
brew tap twilio/brew && brew install twilio
twilio login
twilio api:core:messages:create --from +15017122661 --to +15558675310 --text 'Your order shipped'
```

## Webhook Verification
- Verify signatures on every event
- Reply 200 immediately
- Process in a queue

## Testing
Use sandbox keys and trigger every event type before going live.

## Best Practices
- Secrets in env/secret manager
- Idempotency keys on money paths

## Capabilities

### stripe-integration
Build payment flows with Stripe SDK and CLI

**Parameters:**
- `key` (string): Stripe API key
- `event` (string): Event to trigger

**Commands:**
- `npm install stripe`
- `stripe listen --forward-to localhost:3000/webhooks/stripe`
- `stripe trigger payment_intent.succeeded`
- `node -e "const s=require('stripe')('sk_test_x');s.products.create({name:'T-Shirt'}).then(p=>console.log(p.id))"`
- `stripe logs tail`

**Examples:**
- node -e "const s=require('stripe')('sk_test_x');s.products.create({name:'T-Shirt'}).then(p=>console.log(p.id))"
- stripe trigger payment_intent.succeeded
- stripe logs tail payment_intent

### twilio-integration
Send SMS and verify delivery with Twilio

**Parameters:**
- `from` (string): Sender number
- `to` (string): Recipient number
- `text` (string): Message body

**Commands:**
- `brew tap twilio/brew && brew install twilio`
- `twilio login`
- `twilio api:core:messages:create --from +15017122661 --to +15558675310 --text 'Your order shipped'`
- `twilio api:core:messages:list --limit 5`
- `twilio api:core:accounts:list`

**Examples:**
- twilio api:core:messages:create --from +15017122661 --to +15558675310 --text 'Your order shipped'
- twilio api:core:messages:list --limit 5
- twilio api:core:accounts:list

## References
- [Stripe Node SDK](https://docs.stripe.com/api?lang=node)
- [Twilio CLI](https://www.twilio.com/docs/twilio-cli)

