Friendbuy · Authentication Profile
Friendbuy Authentication
Authentication
Friendbuy secures its APIs with http across 1 declared security scheme, as derived from its OpenAPI definitions.
Referral MarketingLoyaltyRewardsE-CommerceMarketingAdvocacy
Methods: http
Schemes: 1
OAuth flows:
API key in:
Security Schemes
bearerAuth http
scheme: bearer
Source
Authentication Profile
generated: '2026-08-13'
method: searched
source: openapi/ (7 refined specs in this repo)
docs: https://developers.friendbuy.com
note: >-
Upgraded from derived to searched on 2026-08-13 by reading the "Authorization"
and "Authentication Scheme" sections of the Friendbuy developer documentation.
The spec-derived baseline (a single http/bearer scheme) is correct but tells an
agent nothing about how to obtain the token, how long it lives, or how the
credential is issued — all three are recorded below from the docs. Friendbuy
runs NO OAuth 2.0 and NO OpenID Connect (there is no
/.well-known/openid-configuration and no oauth2 securityScheme anywhere), so
there is no scopes/ artifact for this provider.
summary:
types: [http]
http_schemes: [bearer]
bearer_formats: [JWT]
api_key_in: []
oauth2_flows: []
scopes: none
schemes:
- name: bearerAuth
type: http
scheme: bearer
bearerFormat: JWT
description: 'Bearer JWT obtained from POST /authorization by exchanging your account key and secret. Passed as `Authorization: Bearer <token>`.'
applied_to: every operation in every Friendbuy Merchant API spec
sources:
- openapi/friendbuy-analytics-api-openapi.yml
- openapi/friendbuy-authorization-api-openapi.yml
- openapi/friendbuy-customers-api-openapi.yml
- openapi/friendbuy-events-api-openapi.yml
- openapi/friendbuy-management-api-openapi.yml
- openapi/friendbuy-referrals-api-openapi.yml
- openapi/friendbuy-rewards-loyalty-api-openapi.yml
token_exchange:
operation: createAuthorization
method: POST
url: https://mapi.fbot.me/v1/authorization
content_type: application/json
authentication: none (the key/secret pair IS the credential)
request:
key: Your Merchant API access key.
secret: Your Merchant API secret.
response:
tokenType: Bearer
token: The JWT to send on subsequent requests.
expires: ISO 8601 timestamp at which the token stops working.
lifetime: short-lived; the exact TTL is not published — read `expires` from the response
guidance: Cache the token until near `expires` and re-authorize; do not call /authorization per request.
credential_issuance:
self_serve: false
process: >-
Account key and secret are issued by Friendbuy. The documentation instructs
merchants to "Contact Friendbuy support for your key and secret"; keys are
surfaced in the Developer Center section of the Retailer App
(https://retailer.fbot.me). There is no developer sign-up that yields an API
credential, and no sandbox or test-mode key.
gate: paid plan (contact sales)
other_credentials:
- name: merchantId
surface: browser Merchant SDK
where: https://retailer.fbot.me/settings/general
description: >-
Public identifier pushed onto window.friendbuyAPI to load the merchant's
campaign bundle. Not a secret and not accepted by the Merchant API.
- name: secret key (webhook signing)
surface: outbound webhooks and callbacks
description: >-
The same merchant secret is used to compute the base64 HMAC-SHA256 signature
delivered in the X-Friendbuy-Hmac-SHA256 header. Verify it over the raw
request body before parsing. See asyncapi/friendbuy-webhooks.yml.
- name: customer authentication signature
surface: browser Merchant SDK
description: >-
Merchant-signed identity handshake documented under "Customer
Authentication", used so widget state binds to a verified customer rather
than an anonymous visitor.
unauthorized_response:
status: 401
envelope: '{error, message, code, reference}'
guidance: Re-run the token exchange and retry once; a repeated 401 means the key/secret pair is wrong or revoked.
Work with this as data
Every security artifact here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for security posture
4 MCP tools reach this
find_securityBrowse and filter every security artifact in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This security artifact
curl "https://apis.io/api/v1/security/friendbuy-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.