Ingest a new event into the system
curl --request POST \
--url https://api.cloud.flexprice.io/v1/events \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"customer_id": "customer456",
"event_id": "event123",
"event_name": "api_request",
"external_customer_id": "customer456",
"properties": {
"\"response_status\"": "200}",
"{\"request_size\"": "100"
},
"source": "api",
"timestamp": "2024-03-20T15:04:05Z"
}'
{}
Enter your API key in the format x-api-key <api-key>*
Event data
The body is of type object
.
message:Event accepted for processing
The response is of type object
.
curl --request POST \
--url https://api.cloud.flexprice.io/v1/events \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"customer_id": "customer456",
"event_id": "event123",
"event_name": "api_request",
"external_customer_id": "customer456",
"properties": {
"\"response_status\"": "200}",
"{\"request_size\"": "100"
},
"source": "api",
"timestamp": "2024-03-20T15:04:05Z"
}'
{}
Ingest a new event into the system
curl --request POST \
--url https://api.cloud.flexprice.io/v1/events \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"customer_id": "customer456",
"event_id": "event123",
"event_name": "api_request",
"external_customer_id": "customer456",
"properties": {
"\"response_status\"": "200}",
"{\"request_size\"": "100"
},
"source": "api",
"timestamp": "2024-03-20T15:04:05Z"
}'
{}
Enter your API key in the format x-api-key <api-key>*
Event data
The body is of type object
.
message:Event accepted for processing
The response is of type object
.
curl --request POST \
--url https://api.cloud.flexprice.io/v1/events \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"customer_id": "customer456",
"event_id": "event123",
"event_name": "api_request",
"external_customer_id": "customer456",
"properties": {
"\"response_status\"": "200}",
"{\"request_size\"": "100"
},
"source": "api",
"timestamp": "2024-03-20T15:04:05Z"
}'
{}