Send event data to PlayerZero Cloud
Configuration
Option | Description |
---|---|
PlayerZero Project Token Type: string Required: True | The Project Token for the PlayerZero project you want to send data to. You can find this Token on the Segment (Cloud) Connector page. |
Debug Mode Type: boolean Required: False | Will log configuration and request details |
Using our REST API you can create this destination like so:
Terminal
# Create a new destinationcurl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \--data '{"type": "destination","name": "PlayerZero Cloud","inputs": {"projectToken": {"value": ""}},"enabled": true,"template_id": "segment-actions-playerzero-cloud"}'