Send event data to Saleswings
Configuration
Option | Description |
---|---|
API Key Type: string Required: True | Segment.io API key for your SalesWings project. |
Environment Type: choice Required: True | SalesWings environment this destination is connected with. |
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": "Saleswings","inputs": {"apiKey": {"value": ""},"environment": {"value": ""}},"enabled": true,"template_id": "segment-actions-saleswings"}'