Skip to main content
POST
/
insights
/
fans
/
batch
Get fan insights in bulk (POST batch)
curl --request POST \
  --url https://api.example.com/insights/fans/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Fanvue-API-Version: <x-fanvue-api-version>' \
  --data '
{
  "userUuids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "11111111-1111-4111-8111-111111111111": {
    "status": "subscriber",
    "spending": {
      "lastPurchaseAt": "2026-04-12T08:32:00.000Z",
      "total": {
        "gross": 12000,
        "total": 12000
      },
      "maxSinglePayment": {
        "gross": 5000,
        "total": 5000
      },
      "sources": {
        "subscription": {
          "gross": 7000,
          "total": 7000
        },
        "tips": {
          "gross": 5000,
          "total": 5000
        }
      }
    },
    "subscription": {
      "createdAt": "2026-01-15T00:00:00.000Z",
      "renewsAt": "2026-06-15T00:00:00.000Z",
      "autoRenewalEnabled": true
    }
  },
  "22222222-2222-4222-8222-222222222222": {
    "error": "not_found"
  },
  "33333333-3333-4333-9333-333333333333": {
    "error": "internal"
  }
}
Required scopes
  • read:insights — Access analytics, metrics, and insights data for performance tracking.
  • read:fan — Access fan-related data and information within the platform.

Authorizations

Authorization
string
header
required

OAuth 2.0 access token, presented as a JWT bearer token in the Authorization header. Obtain a token via the authorization-code flow; the scopes granted to the token determine which operations it may call.

Headers

X-Fanvue-API-Version
string
default:2025-06-26
required

API version to use for the request

Example:

"2025-06-26"

Body

application/json
userUuids
string<uuid>[]
required

Array of fan UUIDs to fetch insights for (1-100)

Required array length: 1 - 100 elements

Response

Per-key insights or error for each requested fan. Always 200 when the request itself is valid, even if every key fails.

Map of input fan UUID to insights or a per-key error (forbidden, not_found, or internal).

{key}
object