Authentication
To use this API, you’ll need an API key. You can find it by going to System Setup > Integrations > Aampe endpoint and clicking Connect.Endpoint Details
- URL: https://ingestion.api.aampe.com/v1/events
- Method: POST
- Content-Type: application/json
Request Parameters
Required Parameters
Parameter | Type | Description |
---|---|---|
contact_id | string | Unique identifier for the user triggering the event. Must be at least 1 character long. |
event_name | string | Name of the event that occurred. Must be at least 1 character long. |
timestamp | string | Unix timestamp when the event occurred. |
Optional Parameters
Parameter | Type | Description |
---|---|---|
event_id | string | Optional unique identifier for the event. |
metadata | string | Optional JSON object containing additional event information. |
Example Request
Response Codes
Code | Description |
---|---|
202 | Event successfully received and accepted for processing |
422 | Validation error - request parameters are invalid |