Send event data to Airship
Configuration
Option | Description |
---|---|
Access Token Type: string Required: True | Create in the Airship Go dashboard in Settings->Partner Integrations->Segment |
App Key Type: string Required: True | The App Key identifies the Airship Project to which API requests are made. |
Data Center Type: choice Required: True | US or EU |
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": "Airship","inputs": {"access_token": {"value": ""},"app_key": {"value": ""},"endpoint": {"value": ""}},"enabled": true,"template_id": "segment-actions-airship"}'