cURL
curl --request POST \ --url https://itpgo-api.itpgo.workers.dev/alerts \ --header 'Content-Type: application/json' \ --data ' { "plate": "GL0045138", "status": "expiring_soon", "expiresAt": "2026-01-15T00:00:00.000Z", "id": "5d06ab7f-dab1-45b8-a084-e63e0b1f6584" } '
{ "id": "5d06ab7f-dab1-45b8-a084-e63e0b1f6584", "plate": "B-06-SSS", "status": "expiring_soon", "expiresAt": "2025-12-31T23:59:59.000Z", "createdAt": "2025-11-10T12:00:00.000Z" }
Create a new alert for a car plate and expiration status.
"GL0045138"
active
expiring_soon
expired
"expiring_soon"
"2026-01-15T00:00:00.000Z"
"5d06ab7f-dab1-45b8-a084-e63e0b1f6584"
Alert created
"B-06-SSS"
"2025-12-31T23:59:59.000Z"
"2025-11-10T12:00:00.000Z"