Skip to main content
POST
/
v1
/
events
/
{id}
/
retry
Retry 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": "fcus_01HACM7FZ1084XB1GB6053VM0D",
        "first_name": "John",
        "last_name": "Doe",
        "email": "[email protected]",
        "created_at": "<string>",
        "test_mode": true,
        "phone": "+15555555555",
        "employer": "Flex",
        "shipping": {
          "shipping_address_id": "<string>",
          "line1": "<string>",
          "line2": "<string>",
          "city": "<string>",
          "state": "<string>",
          "postal_code": "<string>",
          "country": "<string>"
        },
        "metadata": {}
      }
    },
    "test_mode": true,
    "created_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access this API.

Body

application/json
event
object
required

Response

event
object
required