API & webhooks

Connect Fangate to your CRM and your own systems.

Create products and sales links from the tools you already work in, and get every sale pushed back to them the moment it happens. Scoped API keys, a public OpenAPI reference and full documentation.

What you can connect

The API covers the part of Fangate you want to automate: products, links, uploads and sales. Checkout and delivery stay with Fangate, so they keep working exactly as your fans know them.

Sales links from your CRM or chat tool

Create a product, get its sales link and drop it into the conversation without opening the dashboard. Change the price or create a second link at a different price while the first one keeps working.

Every sale in your own system

Webhooks tell your CRM the moment a payment succeeds, fails or is pending, with the product, the files, the buyer's email and your earning. Tag the fan, unlock the next step or trigger a follow-up.

Numbers in your own dashboard

Read your dashboard summary, wallet balances and transactions and put them next to the rest of your business data.

Uploads without the browser

Push media through resumable uploads of up to 5 GB, or import it from a URL or a cloud drive, and turn it into a product in the same flow.

One example: selling from a Telegram CRM

This is how chat and CRM tools such as Kviqa work with Fangate today.

  1. 1

    Upload the media

    Your tool uploads the files or imports them from a URL or cloud drive.

  2. 2

    Create the product and the link

    One call creates the product with its price and returns the sales link.

  3. 3

    Send the link in the chat

    Your chatter or your automation posts the link. The fan pays in Fangate's checkout.

  4. 4

    React to the payment

    A signed webhook arrives in your system, and your CRM marks the fan as a buyer.

# List your products

curl -H "Authorization: Bearer <YOUR_API_KEY>" https://fangate.info/api/products

# payment.successful arrives in your system

POST https://your-crm.example/fangate
X-Fangate-Signature: …
X-Fangate-Delivery-Id: …

{
  "transaction_id": 48213,
  "product_id": 10765,
  "media_ids": [5521],
  "buyer_email": "fan@example.com",
  "seller_earning": 21.88,
  "currency": "EUR"
}

Webhooks: sales come to you

Instead of asking Fangate over and over whether something sold, register an HTTPS endpoint and Fangate calls it for every payment. The secret is shown once, and every request is signed so your system knows it really came from Fangate.

Webhook documentation →
  • Three events: payment.successful, payment.failed and payment.pending
  • HTTPS only, every request signed with HMAC-SHA256
  • A delivery ID on every request, so duplicates are easy to ignore
  • Automatic retries after 1, 5 and 30 minutes if your system is down

Keys that can only do what you allow

Create API keys yourself in the dashboard under Settings → API keys and send them as a Bearer token. A key is shown once, so store it safely.

Read-only by default

Switch on creating links, reading transactions or managing webhooks only if the key needs it.

Optional expiry

Give a key an end date, and see when it was last used.

Instant revoke

Delete a key and it stops working immediately.

No access to your money

Keys never reach account settings, bank details or payouts.

Partnerships end cleanly

Keys an agency created on your account are revoked when the partnership ends.

Already running in production

These partners use the same public API and webhooks that you get with your own key.

Kviqa

A CRM and funnel tool for Telegram, iMessage and WhatsApp. It creates Fangate products and links right in the chat and learns about every sale by webhook.

Creator Chat

The CRM built for agencies running Telegram sales. It brings your Fangate vault into your chats so your team can sell without switching tools.

Works with your stack

CRM & chat tools

Tools like Kviqa and Creator Chat, or the CRM your team already uses.

Automation platforms

Zapier, Make or n8n through their HTTP and webhook steps.

Your own code

Anything that speaks HTTPS: Node, Python, PHP, your back office.

AI assistants

Assistants that can call HTTP APIs, guided by the OpenAPI reference.

Get your API key in minutes.

Create a free account, verify once and generate your first key in the dashboard.

Create Free Account

Running an agency? See Fangate for Agencies →See all Fangate features →