Documentation

Documentation

ForceKit is a set of Salesforce developer tools. Most tools run entirely in your browser; the Sample Data Generator and the ID Converter are also available as a REST API (see below).

Tools

REST API

Two tools are exposed under the version-prefixed base path /api/v1. Endpoints return JSON (the Data Generator can also stream CSV/ZIP). All API routes are rate-limited per IP; exceeding the limit returns HTTP 429 with a Retry-After header.

ID Converter โ€” GET|POST /api/v1/id-converter

Example usage:

# Single ID (15 โ†” 18), auto-detected
curl 'https://forcekit.org/api/v1/id-converter?id=001D000000IqhSL'
# โ†’ {"valid":true,"id15":"001D000000IqhSL","id18":"001D000000IqhSLIAZ","direction":"15 โ†’ 18"}

# Batch (max 1000 IDs); invalid ones are flagged, not rejected
curl -X POST 'https://forcekit.org/api/v1/id-converter' \
  -H 'Content-Type: application/json' \
  -d '{"ids":["001D000000IqhSL","badid"]}'

Sample Data Generator โ€” POST /api/v1/data-generator

Example usage:

# format: "json" (default) | "csv" (one object) | "zip" (both files)
curl -X POST 'https://forcekit.org/api/v1/data-generator' \
  -H 'Content-Type: application/json' \
  -d '{"object":"both","accounts":5,"contacts":10,"country":"PL","locale":"pl","format":"json"}'

# Available countries (for the "country" field)
curl 'https://forcekit.org/api/v1/data-generator/countries'

Client-side tools

The other tools (SOQL helpers, JSONโ†’Apex, CRON, Permissions, Governor Limits) run only in the browser โ€” the data you type never leaves your machine.