Introduction

API reference

Every call an organisation’s key can make, answered as JSON: 36 of them, each with its fields, its answer and its errors.

Example request

A first callbash
curl "https://console.brevily.com/api/NORTHWIND/links?limit=10" \  -H "x-api-key: brv_ak_7Fq2Lw9xK3" \  -H "x-api-secret: $BREVILY_SECRET"

Example answer

With a secret that does not matchhttp
HTTP/1.1 401 Unauthorized{  "code": "UNAUTHENTICATED",  "message": "invalid credential",  "requestId": "18188559082372202519"}
A signed request sent twice (x-nonce)http
HTTP/1.1 401 Unauthorized{  "code": "UNAUTHENTICATED",  "message": "signature nonce already used within the accepted window",  "details": { "reason": "NONCE_REUSED" },  "requestId": "18188559082372202519"}

Made-up values.

IntroductionPermalink

The callsPermalink