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
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 Scope | Platform | Business Justification | Data Accessed | Required |
|---|---|---|---|---|
| instagram_manage_messages | Meta (Instagram) | Core feature: read and respond to DMs for AI triage and automated collab responses | DM text, sender username, timestamp, attachments | Core |
| instagram_basic | Meta (Instagram) | Required to display account identity in dashboard and generate media kits | Username, profile picture URL, follower count | Core |
| pages_messaging | Meta (Pages) | Required for business accounts using Instagram Professional profiles linked to Pages | Page-linked DMs, Page ID | Core |
| pages_read_engagement | Meta (Pages) | Read post reach, impressions, and engagement metrics for media kit generation | Post impressions, reach, reactions (aggregated) | Core |
| instagram_manage_insights | Meta (Instagram) | Retrieve audience demographics and story metrics for ROI reporting | Aggregated audience age/gender/location, story views | Optional |
2.2 X API v2 Permissions
| Permission Scope | Platform | Business Justification | Data Accessed | Required |
|---|---|---|---|---|
| dm.read | X (Twitter) | Core feature: read Direct Messages for AI triage and intent classification | DM text, sender username, timestamp | Core |
| tweet.read | X (Twitter) | Read public tweet engagement metrics for media kit and ROI reporting | Like count, retweet count, reply count (public) | Core |
| users.read | X (Twitter) | Display account identity in dashboard and verify account ownership | Username, display name, profile picture URL, follower count | Core |
| offline.access | X (Twitter) | Maintain API access between user sessions without requiring re-authentication | Refresh token only (no additional data) | Core |
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 Case | Data Used | Legal Basis | User Can Disable |
|---|---|---|---|
| DM Triage | Message text (transient), sender username | Contract (ToS) | Yes — toggle in Settings |
| Semantic Triggers | pgvector embedding (not raw text) | Contract (ToS) | Yes — per-trigger control |
| Media Kit | Aggregated engagement metrics | Contract (ToS) | Yes — disable media kit feature |
| ROI Analytics | Aggregated post metrics | Contract (ToS) | Yes — disable analytics |
| Authentication | Encrypted OAuth token | Contract (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.
- 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.
| Tier | Data Type | Examples | Encryption | Retention | Access |
|---|---|---|---|---|---|
| Tier 1 — Critical | OAuth credentials | Instagram access token, X refresh token | AES-256 at rest, TLS 1.3 in transit | Until revoked | System only — no human access |
| Tier 2 — Sensitive | Raw DM content | Message text during processing window | TLS 1.3 in transit, not persisted | Processing window only (<5s) | AI pipeline only — no logging |
| Tier 3 — Restricted | Derived data | Intent labels, pgvector embeddings, sender usernames | AES-256 at rest, TLS 1.3 in transit | 90 days rolling (user-configurable) | User dashboard + authorized klqbit engineers (audit-logged) |
| Tier 4 — Internal | Aggregated metrics | Follower count, reach, impressions | TLS 1.3 in transit | 12 months rolling | User 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.
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.
| Service | AWS Component | Data Stored | Encryption |
|---|---|---|---|
| Primary database | Amazon RDS (PostgreSQL 16 + pgvector) | User accounts, OAuth tokens, embeddings, metrics | AES-256 at rest, automated backups encrypted |
| Event streaming | Amazon Kinesis Data Streams | DM event payloads (transient, <24h) | TLS 1.3 in transit, server-side encryption |
| Time-series metrics | Amazon Timestream | Engagement telemetry, usage metrics | AES-256 at rest |
| Object storage | Amazon S3 | Media kit assets, export files | SSE-S3 encryption, private ACL |
| Secrets management | AWS Secrets Manager | OAuth tokens, API keys | AWS KMS envelope encryption |
| CDN / Edge | Amazon CloudFront | Static assets only — no user data | TLS 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.
| Role | Data Access | Approval Required | Audit Logged |
|---|---|---|---|
| End User | Their own data only | N/A (self-service) | Yes |
| Support Engineer | Anonymized error logs only | Ticket-based | Yes |
| Infrastructure Engineer | Schema metadata (no row-level data) | Manager + Security | Yes |
| Security Team | Audit logs, anomaly alerts | CISO approval | Yes |
| AI/ML Engineer | Aggregate statistics only — no raw DMs | Manager + DPO | Yes |
| Executive | Aggregate business metrics only | N/A | Yes |
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.
| Processor | Purpose | Data Shared | DPA | ZDR / No-Training |
|---|---|---|---|---|
| Amazon Web Services | Infrastructure hosting, storage, streaming | All user data (encrypted) | AWS DPA | N/A (infrastructure) |
| OpenAI | Intent classification, semantic embeddings | DM text (transient, per-request) | OpenAI DPA | Enterprise ZDR — no training |
| Google (Vertex AI) | Intent classification (fallback) | DM text (transient, per-request) | Google Cloud DPA | Vertex AI ZDR — no training |
| Anthropic | Intent classification (fallback) | DM text (transient, per-request) | Anthropic DPA | API ZDR — no training |
| Stripe | Payment processing | Billing name, email, card last 4 | Stripe DPA | N/A (payment only) |
| Vercel | Frontend CDN / edge delivery | Static assets only — no user data | Vercel DPA | N/A |
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.
| Timeframe | Action | Responsible Party |
|---|---|---|
| 0–1 hour | Incident detected and contained; affected systems isolated | Security Engineer on-call |
| 1–4 hours | Root cause analysis initiated; scope of affected data determined | Security Team + CTO |
| 4–24 hours | Affected users notified via email; Meta/X notified per platform requirements | DPO + Legal |
| 24–72 hours | GDPR supervisory authority notified (if required); remediation deployed | DPO |
| 72 hours+ | Post-incident report published; security controls updated | Security Team |
11. Platform Compliance
klqbit's data practices are designed to comply with the following platform policies, regulations, and standards:
| Standard / Policy | Applies To | Our Compliance Status | Evidence |
|---|---|---|---|
| Meta Platform Terms | Instagram API data | Compliant — Advanced Access approved | Meta App Review approval |
| Meta Developer Policies | All Meta API usage | Compliant | Annual self-certification |
| X Developer Agreement | X API v2 data | Compliant | X Developer Portal approval |
| GDPR (EU 2016/679) | EEA/UK user data | Compliant | DPA, SCCs, DPO appointed |
| CCPA (Cal. Civil Code §1798) | California user data | Compliant | Privacy Policy §11, opt-out mechanism |
| SOC 2 Type II | All user data | In progress (target: Q4 2025) | Audit scheduled |
| ISO 27001 | Information security | In 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:
GDPR supervisory authority contact, DPA requests, legal inquiries
Related Documents