Web2App Integrations V2

Create Web2App Integration

Creates a new web2app integration for the project. Requires applications:write scope.

post/v2/projects/{project_id}/web2app_integrations

Path parameters

project_idstring required

Project ID

Project ID

Request body

namestring required

Display name for this integration

integration_type'facebook-pixel' | 'console-logger' | 'google-tag-manager' | 'custom-script' required

Integration type: facebook-pixel, google-tag-manager, console-logger, or custom-script

enabledboolean

Whether the integration is active (default: true)

{"stackTrail":"paths:/v2/projects/{project_id}/web2app_integrations:post:requestBody:content:application/json:schema:properties:config","oasType":"schema","type":"unknown","title":"unknown","description":"Type-specific configuration. facebook-pixel: { pixelId }, google-tag-manager: { containerId }, console-logger: { testMode }, custom-script: { script }"}

Response

Success

idinteger required

Unique identifier

object'web2app_integration' required

Object type, always web2app_integration

namestring required

Display name

integration_type'facebook-pixel' | 'console-logger' | 'google-tag-manager' | 'custom-script' required

Integration type

enabledboolean required

Whether the integration is active

{"stackTrail":"paths:/v2/projects/{project_id}/web2app_integrations:post:responses:200:content:application/json:schema:properties:config","oasType":"schema","type":"unknown","title":"unknown","description":"Type-specific configuration"}
created_atstring required

ISO 8601 timestamp of when the integration was created

updated_atstring required

ISO 8601 timestamp of when the integration was last updated

Changes

No recorded changes to this endpoint across all 1 revision of this API.