Help Centre  ›  Developer API
Help Centre · Developer Documentation

Flinque Developer API documentation

Build custom integrations and automations on top of the Flinque influencer marketing platform. The Flinque REST API gives you programmatic access to creators, campaigns, attribution data, and reports.

REST
JSON over HTTPS
OAuth 2.0
Authentication
100/min
Rate Limit (Starter)
99.9%
API Uptime SLA

Quick start

Get your first API call working in under 5 minutes.

01

Get API credentials

Generate a client ID and secret in your Flinque workspace under Settings → Developers

02

Authenticate

Exchange credentials for an access token via the OAuth token endpoint

03

Make your first call

Use the access token to query any API endpoint with standard HTTPS requests

Authentication

All API requests require authentication via OAuth 2.0 client credentials flow. Pass your access token in the Authorization header on every request.

Example Request
curl -X POST https://api.flinque.com/v1/oauth/token \
  -H "Content-Type: application/json" \
  -d '{
    "grant_type": "client_credentials",
    "client_id": "your_client_id",
    "client_secret": "your_client_secret"
  }'

Token lifetime: Access tokens expire after 24 hours. Re-authenticate using your client credentials to get a new token.

Base URL and versioning

All API requests use the following base URL:

https://api.flinque.com/v1

Versioning: The current API version is v1. We commit to maintaining v1 for at least 24 months after any future v2 release. Breaking changes will be communicated 90 days in advance via the developer changelog.

Available endpoints

The API exposes the following resource categories. Detailed schema documentation is available in the developer portal.

Creators

/creators

Search creators, fetch profiles, audience demographics, engagement metrics, and historical performance

GET /creators
GET /creators/{id}
GET /creators/{id}/audience
GET /creators/{id}/posts
Campaigns

/campaigns

Create and manage campaigns, add creators, track deliverables, and pull performance data

GET /campaigns
POST /campaigns
GET /campaigns/{id}
PATCH /campaigns/{id}
Attribution

/attribution

Pull attributed orders, revenue, conversions, and full-funnel attribution data

GET /attribution/orders
GET /attribution/revenue
GET /attribution/events
Reports

/reports

Generate and export campaign reports, creator scorecards, and dashboard data

GET /reports
POST /reports/generate
GET /reports/{id}/export
Workspaces

/workspaces

Manage workspace settings, team members, and account configuration

GET /workspaces
GET /workspaces/{id}
GET /workspaces/{id}/members
Webhooks

/webhooks

Subscribe to real-time events: campaign updates, new attributed orders, creator changes

GET /webhooks
POST /webhooks
DELETE /webhooks/{id}

Webhooks

Subscribe to real-time events instead of polling. Webhooks fire as soon as relevant events occur in your workspace.

Event
Description
campaign.created
Fired when a new campaign is created
campaign.updated
Fired when campaign details, status, or creators change
order.attributed
Fired when a new order is attributed to a creator
creator.added
Fired when a creator is added to your workspace
report.ready
Fired when an async report finishes generating

Security: All webhook deliveries include an X-Flinque-Signature header. Verify the signature using your webhook secret to confirm authenticity.

Rate limits

Rate limits depend on your Flinque plan. Limits are applied per workspace, not per API key.

Plan
Requests per Minute
Burst Allowance
Free
30
50
Starter
100
200
Enterprise
500
1,000

Rate limit headers: Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers so you can track your usage.

Error handling

The API uses standard HTTP status codes. All error responses include a structured JSON body.

Status
Meaning
Common Cause
200
Success
Request completed successfully
400
Bad Request
Malformed request or invalid parameters
401
Unauthorized
Missing or invalid access token
403
Forbidden
Token valid but lacks permission
404
Not Found
Resource does not exist
429
Rate Limited
Exceeded rate limit; check Retry-After header
500
Server Error
Temporary server issue; retry with backoff

SDKs and libraries

Official SDKs available in popular languages. Community-maintained libraries also available for additional languages.

JavaScript / TypeScript

Official Node.js + browser SDK

npm install @flinque/sdk

Python

Official Python 3.8+ SDK

pip install flinque-sdk

REST clients

Postman collection + OpenAPI spec

openapi.flinque.com/v1.json
Pre-built Connectors

Or skip the API and use our integrations

If you want to connect Flinque with Shopify, Google Ads, Notion, or one of 14 other tools, you may not need the API. Most common workflows are covered by our pre-built integrations.

Browse Integrations

  • 17 pre-built integrations
  • 5 to 15 minute setup
  • Maintained and updated by Flinque
  • No engineering effort needed

Frequently asked questions

Is the API available on all plans?

Yes. API access is available on Free, Starter, and Enterprise plans, with rate limits scaling by plan. See our pricing page for plan details.

Do you have a sandbox environment?

Yes. Enterprise plans include access to a sandbox workspace at sandbox.flinque.com for safely testing integrations without affecting production data.

How do I report API bugs or request endpoints?

Report bugs through Report an Issue. Request new endpoints via Improvement Feedback.

What about API status and uptime?

Check System Status for real-time API health, scheduled maintenance, and historical incidents. Our SLA target is 99.9% uptime; details in our SLA Policy.

How do you handle API security?

All API traffic is encrypted via TLS 1.2+. Tokens are short-lived and scoped to a specific workspace. See our Security Policy for full details.

Need API help?

Get help from our developer team

Stuck on authentication? Need help with webhook signatures? Want to discuss a custom integration? Our developer team is here.