curl --request POST \
--url https://api.withflex.com/v1/events/{id}/retry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"event": {
"webhook_id": "<string>"
}
}'
{
"event": {
"event_id": "<string>",
"event_type": "account.updated",
"object": {
"customer": {
"customer_id": "<any>",
"first_name": "<any>",
"last_name": "<any>",
"email": "<any>",
"phone": "<any>",
"employer": "<any>",
"shipping": "<any>",
"metadata": "<any>",
"created_at": "<any>",
"test_mode": "<any>"
}
},
"test_mode": true,
"created_at": "<string>"
}
}
Retry sending an exisitng event
curl --request POST \
--url https://api.withflex.com/v1/events/{id}/retry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"event": {
"webhook_id": "<string>"
}
}'
{
"event": {
"event_id": "<string>",
"event_type": "account.updated",
"object": {
"customer": {
"customer_id": "<any>",
"first_name": "<any>",
"last_name": "<any>",
"email": "<any>",
"phone": "<any>",
"employer": "<any>",
"shipping": "<any>",
"metadata": "<any>",
"created_at": "<any>",
"test_mode": "<any>"
}
},
"test_mode": true,
"created_at": "<string>"
}
}
Use a Bearer token to access this API.
The response is of type object
.