Platform Policy DocumentMeta Verification ReadyX API v2 Compliant

Data Usage Guidelines

This document defines precisely how klqbit collects, processes, stores, and protects data obtained through the Instagram Graph API, Meta Webhooks, and the X API v2. It is intended for platform compliance review, developer transparency, and user trust.

Effective: May 5, 2025Last updated: May 5, 2025Version: 1.0Applies to: klqbit.io & app.klqbit.ioSee also: Privacy Policy

1. Purpose & Scope

klqbit is an AI-first influencer marketing and automation platform. We connect to creators' Instagram and X (Twitter) accounts via their official, documented APIs to provide DM triage, intent-based automation, live media kit generation, and campaign ROI tracking.

This Data Usage Guidelines document governs all data obtained through:

  • Meta Graph API (Instagram Messaging, Pages, Insights)
  • Meta Webhooks API (real-time DM ingestion)
  • X API v2 (Direct Messages, Account Activity API)
  • OAuth 2.0 authorization flows for both platforms
  • Any derived data (embeddings, classifications, metrics) generated from the above
Scope of this document: This policy applies to all klqbit users (influencers, creators, brand managers) and covers data processed on their behalf. It is distinct from our general Privacy Policy, which covers end-user personal data. This document is specifically designed to satisfy Meta's Platform Terms §3 (Data Use) and X's Developer Agreement §IV (Data and Privacy).

2. API Permissions & Justification

klqbit requests the minimum set of API permissions necessary to deliver its core features. Every permission is individually justified below. We do not request permissions speculatively or for future use cases not yet deployed.

2.1 Instagram / Meta Graph API Permissions

Permission ScopePlatformBusiness JustificationData AccessedRequired
instagram_manage_messagesMeta (Instagram)Core feature: read and respond to DMs for AI triage and automated collab responsesDM text, sender username, timestamp, attachmentsCore
instagram_basicMeta (Instagram)Required to display account identity in dashboard and generate media kitsUsername, profile picture URL, follower countCore
pages_messagingMeta (Pages)Required for business accounts using Instagram Professional profiles linked to PagesPage-linked DMs, Page IDCore
pages_read_engagementMeta (Pages)Read post reach, impressions, and engagement metrics for media kit generationPost impressions, reach, reactions (aggregated)Core
instagram_manage_insightsMeta (Instagram)Retrieve audience demographics and story metrics for ROI reportingAggregated audience age/gender/location, story viewsOptional

2.2 X API v2 Permissions

Permission ScopePlatformBusiness JustificationData AccessedRequired
dm.readX (Twitter)Core feature: read Direct Messages for AI triage and intent classificationDM text, sender username, timestampCore
tweet.readX (Twitter)Read public tweet engagement metrics for media kit and ROI reportingLike count, retweet count, reply count (public)Core
users.readX (Twitter)Display account identity in dashboard and verify account ownershipUsername, display name, profile picture URL, follower countCore
offline.accessX (Twitter)Maintain API access between user sessions without requiring re-authenticationRefresh token only (no additional data)Core
klqbit operates under Meta Advanced Access for instagram_manage_messages. This permission tier requires independent review and approval of our data handling practices by Meta's platform team before access is granted.

3. Permitted Data Uses

Data obtained through Instagram and X APIs is used exclusively for the following purposes, all of which are directly requested and authorized by the account owner (our user) during the OAuth consent flow.

3.1 DM Triage & Intent Classification

Incoming DMs are processed by our AI Gateway to classify intent into one of four categories: Collab Request, Fan Message, Spam, or Other. This classification is surfaced in the user's Smart Inbox dashboard. The raw message text is used only within the processing pipeline and is not persisted beyond the initial classification window.

3.2 Semantic Trigger Automation

Message embeddings are compared against user-configured semantic triggers. When a match exceeds the user's defined similarity threshold, a pre-approved automated response or promotion link is dispatched. This automation is entirely user-configured and can be disabled at any time.

3.3 Live Media Kit Generation

Engagement metrics (follower count, reach, impressions, story views) are aggregated to generate a shareable media kit. This data is fetched on-demand and cached for up to 24 hours. No follower-level personal data is included in media kits — only aggregated statistics.

3.4 ROI & Campaign Analytics

Post-campaign, engagement data is used to calculate ROI metrics (CPE, CPM, conversion rate) for the user's own reporting. This data is stored in the user's account and is never shared with third parties without explicit user consent.

3.5 Account Authentication & Security

OAuth tokens are stored encrypted (AES-256) and used solely to make authorized API calls on behalf of the user. Tokens are never shared, logged in plaintext, or used for any purpose other than the API calls the user has authorized.

Use CaseData UsedLegal BasisUser Can Disable
DM TriageMessage text (transient), sender usernameContract (ToS)Yes — toggle in Settings
Semantic Triggerspgvector embedding (not raw text)Contract (ToS)Yes — per-trigger control
Media KitAggregated engagement metricsContract (ToS)Yes — disable media kit feature
ROI AnalyticsAggregated post metricsContract (ToS)Yes — disable analytics
AuthenticationEncrypted OAuth tokenContract (ToS)Yes — revoke OAuth in platform settings

4. Prohibited Uses

The following uses of Instagram, Meta, and X API data are strictly prohibited by klqbit's internal policy, Meta's Platform Terms, and X's Developer Agreement. These restrictions apply to klqbit, all employees, contractors, and any third-party processors we engage.

Absolute prohibitions — no exceptions, no waivers: Any violation of the items below constitutes a material breach of our platform agreements and may result in immediate account termination and regulatory reporting.
  • Selling, licensing, or transferring API data to any third party for any commercial purpose
  • Using DM content or follower data to train, fine-tune, or improve any AI or ML model
  • Scraping, crawling, or accessing data outside of official API endpoints
  • Storing user passwords, plaintext OAuth tokens, or authentication credentials
  • Building shadow profiles of followers or users who have not consented to klqbit's terms
  • Using data to target advertising, retargeting, or lookalike audiences on any platform
  • Sharing data with data brokers, analytics resellers, or marketing intelligence platforms
  • Accessing data of users who have revoked OAuth authorization
  • Using Instagram or X data to circumvent platform features, policies, or rate limits
  • Storing or processing data in jurisdictions that do not meet GDPR adequacy standards without SCCs
  • Using API data for surveillance, tracking, or monitoring of individuals without their consent
  • Aggregating data across multiple users to infer sensitive personal characteristics

5. Data Types & Classification

klqbit classifies all data into four sensitivity tiers. Each tier has distinct handling, storage, and retention requirements.

TierData TypeExamplesEncryptionRetentionAccess
Tier 1 — CriticalOAuth credentialsInstagram access token, X refresh tokenAES-256 at rest, TLS 1.3 in transitUntil revokedSystem only — no human access
Tier 2 — SensitiveRaw DM contentMessage text during processing windowTLS 1.3 in transit, not persistedProcessing window only (<5s)AI pipeline only — no logging
Tier 3 — RestrictedDerived dataIntent labels, pgvector embeddings, sender usernamesAES-256 at rest, TLS 1.3 in transit90 days rolling (user-configurable)User dashboard + authorized klqbit engineers (audit-logged)
Tier 4 — InternalAggregated metricsFollower count, reach, impressionsTLS 1.3 in transit12 months rollingUser dashboard + analytics pipeline

5.1 pgvector Semantic Embeddings

When a DM is processed, its text is converted into a high-dimensional vector embedding (1536 dimensions, OpenAI text-embedding-3-small) and stored in our PostgreSQL/pgvector database. The embedding is a mathematical representation of semantic meaning — it cannot be reversed to reconstruct the original message text. Raw message text is never written to disk or database storage.

Technical note on embeddings: A vector embedding is analogous to a fingerprint — it captures the semantic meaning of a message without storing the message itself. While embeddings can be used to find semantically similar messages, they cannot be used to reconstruct the original text. This design is intentional and is part of our privacy-by-design architecture.

6. Storage & Infrastructure

All klqbit infrastructure is hosted on Amazon Web Services (AWS) in the us-east-1 (N. Virginia) region, with EU-resident user data optionally stored in eu-west-1 (Ireland) to satisfy GDPR data residency requirements.

ServiceAWS ComponentData StoredEncryption
Primary databaseAmazon RDS (PostgreSQL 16 + pgvector)User accounts, OAuth tokens, embeddings, metricsAES-256 at rest, automated backups encrypted
Event streamingAmazon Kinesis Data StreamsDM event payloads (transient, <24h)TLS 1.3 in transit, server-side encryption
Time-series metricsAmazon TimestreamEngagement telemetry, usage metricsAES-256 at rest
Object storageAmazon S3Media kit assets, export filesSSE-S3 encryption, private ACL
Secrets managementAWS Secrets ManagerOAuth tokens, API keysAWS KMS envelope encryption
CDN / EdgeAmazon CloudFrontStatic assets only — no user dataTLS 1.3

6.1 Data Residency

By default, all data is stored in us-east-1. EU-based users (EEA/UK) may request data residency in eu-west-1 by contacting privacy@klqbit.io. Data is never transferred to regions without an EU adequacy decision or without Standard Contractual Clauses (SCCs) in place.

6.2 Backup & Recovery

Automated daily backups are retained for 30 days. Point-in-time recovery (PITR) is enabled with a 7-day window. All backups are encrypted with the same AES-256 keys as the primary database. Backup access is restricted to the infrastructure team and is audit-logged.

7. Access Control

Access to user data is governed by a strict role-based access control (RBAC) model. No employee has standing access to production user data. All access requires a formal request, manager approval, and is time-limited.

RoleData AccessApproval RequiredAudit Logged
End UserTheir own data onlyN/A (self-service)Yes
Support EngineerAnonymized error logs onlyTicket-basedYes
Infrastructure EngineerSchema metadata (no row-level data)Manager + SecurityYes
Security TeamAudit logs, anomaly alertsCISO approvalYes
AI/ML EngineerAggregate statistics only — no raw DMsManager + DPOYes
ExecutiveAggregate business metrics onlyN/AYes
Zero standing access policy: No klqbit employee has persistent read access to production user data tables. Access is granted on a just-in-time (JIT) basis via AWS IAM temporary credentials with a maximum session duration of 4 hours. All sessions are recorded and reviewed weekly.

8. Third-Party Processors

klqbit engages the following sub-processors to deliver its services. Each processor has a signed Data Processing Agreement (DPA) in place. We do not engage sub-processors that do not meet our security and privacy standards.

ProcessorPurposeData SharedDPAZDR / No-Training
Amazon Web ServicesInfrastructure hosting, storage, streamingAll user data (encrypted)AWS DPAN/A (infrastructure)
OpenAIIntent classification, semantic embeddingsDM text (transient, per-request)OpenAI DPAEnterprise ZDR — no training
Google (Vertex AI)Intent classification (fallback)DM text (transient, per-request)Google Cloud DPAVertex AI ZDR — no training
AnthropicIntent classification (fallback)DM text (transient, per-request)Anthropic DPAAPI ZDR — no training
StripePayment processingBilling name, email, card last 4Stripe DPAN/A (payment only)
VercelFrontend CDN / edge deliveryStatic assets only — no user dataVercel DPAN/A
AI provider commitment: All three AI providers (OpenAI, Google, Anthropic) are contracted under their zero-data-retention (ZDR) API tiers. This means message content sent for classification is processed in memory and immediately discarded — it is never stored, logged, or used for model training by the provider.

9. User Controls & Revocation

Users retain full control over their data and API access at all times. The following controls are available directly from the klqbit dashboard without requiring support contact.

9.1 Revoking API Access

Users may revoke klqbit's access to their Instagram or X account at any time through either the klqbit dashboard (Settings → Integrations → Revoke Access) or directly through the platform's own authorization settings (Instagram: Settings → Apps and Websites; X: Settings → Security → Connected Apps). Upon revocation, klqbit immediately deletes the associated OAuth token and ceases all API calls.

9.2 Data Purge

Users may request a full purge of all their data — including pgvector embeddings, intent labels, engagement metrics, and account data — via:

  • Dashboard self-service: Settings → Data & Privacy → "Purge all my data" (completed within 60 seconds)
  • Email request to privacy@klqbit.io (completed within 30 days per GDPR Art. 17)
  • Account deletion (triggers automatic full purge across all systems within 72 hours)

9.3 AI Processing Opt-Out

Users may disable AI processing entirely from Settings → AI & Automation → Disable AI triage. When disabled, no message content is sent to any AI model. DMs will still appear in the inbox but will not be classified or trigger automations.

9.4 Data Export

Users may export all their klqbit data in JSON or CSV format from Settings → Data & Privacy → Export my data. Exports are generated within 24 hours and are available for download for 7 days.

10. Incident Response

In the event of a data security incident involving Instagram or X API data, klqbit follows a structured incident response protocol aligned with GDPR Article 33 and Meta's Platform Terms breach notification requirements.

TimeframeActionResponsible Party
0–1 hourIncident detected and contained; affected systems isolatedSecurity Engineer on-call
1–4 hoursRoot cause analysis initiated; scope of affected data determinedSecurity Team + CTO
4–24 hoursAffected users notified via email; Meta/X notified per platform requirementsDPO + Legal
24–72 hoursGDPR supervisory authority notified (if required); remediation deployedDPO
72 hours+Post-incident report published; security controls updatedSecurity Team
Meta breach notification: klqbit is required to notify Meta within 24 hours of discovering any incident involving Instagram API data, per Meta's Platform Terms §6.2. We maintain a dedicated incident response email address at security@klqbit.io and a 24/7 on-call rotation for security incidents.

11. Platform Compliance

klqbit's data practices are designed to comply with the following platform policies, regulations, and standards:

Standard / PolicyApplies ToOur Compliance StatusEvidence
Meta Platform TermsInstagram API dataCompliant — Advanced Access approvedMeta App Review approval
Meta Developer PoliciesAll Meta API usageCompliantAnnual self-certification
X Developer AgreementX API v2 dataCompliantX Developer Portal approval
GDPR (EU 2016/679)EEA/UK user dataCompliantDPA, SCCs, DPO appointed
CCPA (Cal. Civil Code §1798)California user dataCompliantPrivacy Policy §11, opt-out mechanism
SOC 2 Type IIAll user dataIn progress (target: Q4 2025)Audit scheduled
ISO 27001Information securityIn progress (target: Q1 2026)Gap analysis complete

11.1 Annual Data Use Review

klqbit conducts an annual review of all API permissions and data uses to ensure continued necessity and compliance. Permissions that are no longer required are removed from our app configuration and revoked. Results of this review are documented and available to platform partners upon request.

11.2 Developer Policy Acknowledgement

All klqbit engineers with access to API integrations are required to complete annual training on Meta's Platform Terms and X's Developer Agreement. Completion is tracked and recorded in our HR system.

12. Contact

For questions about this Data Usage Guidelines document, API data practices, or to submit a data request, contact us through the following channels:

Data Privacy
privacy@klqbit.io

General data questions, deletion requests, GDPR/CCPA rights

Data Protection Officer
dpo@klqbit.io

GDPR supervisory authority contact, DPA requests, legal inquiries

Security Incidents
security@klqbit.io

Report security vulnerabilities or suspected data breaches

Response times: Privacy and DPO inquiries are responded to within 5 business days. GDPR data subject requests are fulfilled within 30 days (extendable to 90 days for complex requests with notice). Security incidents are triaged within 4 hours.