Intempt
  1. API Reference
Intempt
  • Installation
    • Basic Intempt Installation
    • Create source
    • Web Snippet
    • Google Tag Manager
    • Autocapture setup
    • SPA tracking
    • Environment Setup
    • Validating Installation
  • SDK
    • JS SDK
    • Android SDK
    • iOS SDK
    • Node.js SDK
  • API Reference
    • Track data
      POST
    • Consent
      POST
    • Choose API
      POST
    • Recommendations Feed API
      POST
  • Data Ingestion & Tracking
    • identify()
    • track()
    • record()
    • alias()
    • group()
    • consent()
    • intempt:html / intempt:page / intempt:session
    • Product Catalog Ingestion via API
  • Data Models & Event Schema
    • Event Schema Overview
    • Required Fields
    • Attribute Schema
    • Product Catalog Schema
  • Webhooks
    • Webhook Configuration
  • Server Side Experiments
    • Overview
    • Choose API endpoint
    • Handling Experiment Response
  1. API Reference

Consent

POST
/{orgName}/projects/{projectName}/consents/data

Request

Path Params

Query Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
200
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '//projects//consents/data?apiKey' \
--header 'Content-Type: application/json' \
--data-raw '{
    "action": "accept",
    "timestamp": "string",
    "validUntil": "string",
    "source": "string",
    "category": "string",
    "sourceId": 0,
    "profileId": "string",
    "userId": "string",
    "email": "string",
    "message": "string"
}'
Response Response Example
200 - Example 1
{}
Modified at 2025-11-26 15:54:15
Previous
Track data
Next
Choose API
Built with