Skip to main content
curl --request POST \
  --url https://api.smile.io/v1/events/ \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer {token}' \
  --data '
{
  "event": {
    "topic": "customer/updated",
    "data": {
      "external_id": "1",
      "first_name": "Wayne",
      "last_name": "Rooney",
      "email": "[email protected]",
      "external_created_at": "2023-11-19T21:19:30.559Z",
      "external_updated_at": "2023-11-20T21:09:22.509Z"
    }
  }
}'
Send this event any time a customer is created or updated in the external system. All customer properties should be filled in when sending this type of request.
This endpoint requires the scope.