Tools

OpenAPI spec

We publish a standard OpenAPI 3.0 description. Import it into Postman, Insomnia or similar tools for testing, or use a code generator to build a client.

Download

openapi.json

Signing in Postman

After importing, add this to the collection's Pre-request Script and set SPEED_API_KEY and SPEED_API_SECRET as environment variables:

Node.js
const ts = Date.now().toString()
const path = pm.request.url.getPathWithQuery()
const body = pm.request.body && pm.request.body.raw ? pm.request.body.raw : ''
const sign = CryptoJS.HmacSHA256(ts + pm.request.method + path + body, pm.environment.get('SPEED_API_SECRET')).toString()

pm.request.headers.upsert({ key: 'X-API-KEY', value: pm.environment.get('SPEED_API_KEY') })
pm.request.headers.upsert({ key: 'X-API-TIMESTAMP', value: ts })
pm.request.headers.upsert({ key: 'X-API-SIGN', value: sign })

Write POST bodies as compact JSON (no line breaks or extra spaces): the signed content must match what is sent exactly.

Need help with your integration? Contact support: [email protected]