7feastr
Get Rate & ETAAPITrack ShipmentContactBlog
LoginRegister
Documentation/Logistics API
AuthenticationMenu
Overview

Get started

Getting startedAuthenticationSandbox and production

Plan your integration

Coverage & delivery timesPricing

API reference

Quotes & shipmentsTrackingWallet & disputes

Integrate

WebhooksErrors & rate limits

Resources

Changelog
K
Overview

Get started

Getting startedAuthenticationSandbox and production

Plan your integration

Coverage & delivery timesPricing

API reference

Quotes & shipmentsTrackingWallet & disputes

Integrate

WebhooksErrors & rate limits

Resources

Changelog
7feastr

Nigeria's food delivery and logistics infrastructure. Order from your favourite local restaurants, or ship anywhere in the country with 7feastr Logistics.

support@7feastr.com
+234 905 606 2230
Lagos, Nigeria

Company

  • About Us
  • Blog

Services

  • Nearby Restaurants
  • Logistics
  • Track Shipment
  • API Documentation

Food in Kaduna

  • Food Delivery in Kaduna
  • Shawarma
  • Jollof Rice
  • Chicken
  • Suya & Grills
  • Pizza
  • Swallow & Soup

Partners

  • Become an Agent
  • Become an Ambassador

Support

  • FAQ
  • Contact
  • System status
  • Privacy Policy
  • Terms of Service
  • Monetary Policy
  • Refund Policy

© 2026 7feastr Technologies Ltd. All rights reserved.

Get started

Authentication

How to get an API key, send it with each request, and manage keys safely.

Last updated 21 October 2026

Every endpoint except public tracking, the public rate check and the public status endpoint needs an API key. Send it as a bearer token in the Authorization header:

HTTP
Authorization: Bearer SB_51H8f2K9pLmQ7xR3vT6wY0zA4bC8dE2f

Send JSON bodies with Content-Type: application/json.

Getting a key

  • Sandbox: a sandbox key is created for you automatically when you verify your email and finish onboarding in the merchant dashboard.
  • Production: once your business is approved (KYB) and go-live is enabled, create a production key from API Keys in the dashboard.

A key is shown once, when it is created. It cannot be retrieved again, only revoked and replaced, and we never email raw keys. You can have up to 5 active keys per environment, which makes it easy to rotate keys without downtime.

Key prefixes and environments

PrefixEnvironment
SB_Sandbox
PROD_Production

The environment of a request comes from the key alone, never from the URL or a request parameter. The same paths serve both environments, so you switch by loading a different key. A sandbox key can never read or change production data, and a production key can never touch sandbox data.

Production access

Production keys work only after your business verification (KYB) is approved and your account is enabled to go live. Until then, production requests return 403 permission_error:

JSON
{
  "success": false,
  "error": {
    "code": "permission_error",
    "message": "Production access has not been approved for this account yet. Use a sandbox key (SB_...) until go-live is approved."
  }
}

Authentication errors

HTTPerror.codeWhen
401authentication_errorThe key is missing, malformed, invalid or revoked
401environment_mismatchThe key's environment doesn't match the resource
403permission_errorProduction is not enabled yet (KYB pending), or the merchant account is suspended
JSON
{
  "success": false,
  "error": {
    "code": "authentication_error",
    "message": "Invalid or revoked API key."
  }
}

Keeping keys safe

  • Store keys in environment variables or a secrets manager, never in source control.
  • Call the API from your backend only. Never put a key in a mobile app, a browser or a public repository.
  • Rotate keys by creating a new key, deploying it, then revoking the old one.
  • If a key leaks, revoke it from the dashboard straight away. Revocation applies from the very next request.

Tip

Name your environment variables after the environment, for example SEVENFEASTR_SANDBOX_KEY and SEVENFEASTR_LIVE_KEY, so it is always obvious which key a deployment uses.

PreviousGetting startedNext Sandbox and production

On this page

  • Getting a key
  • Key prefixes and environments
  • Production access
  • Authentication errors
  • Keeping keys safe