> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create event

> Create a dispute case event.

POST/cases/\{token}/events

Create a dispute case event.

If you are a Managed by Marqeta (MxM) customer or a hybrid card program and you are submitting a dispute that falls under Regulation E, you must create a case event with evidence. For instructions on creating a case event with evidence, see [Disputes Evidence Collection](https://www.marqeta.com/docs/core-api/disputes-evidence-collection/).

## Path parameter

| Fields | Description |
| - | - |
| token string  Required | The token that identifies the dispute case. **Allowable Values:**  36 char max |

## Body field details

| Fields | Description |
| - | - |
| name string  Required | The name of the event. **Allowable Values:**  255 char max |
| event\_date string  Optional | When the event took place. **Allowable Values:**  Format: yyyy-MM-dd'T'HH:mm:ssZ |
| created\_by string  Required | The user creating the event. **Allowable Values:**  255 char max |

## Response body

| Fields | Description |
| - | - |
| token string  Returned | The generated UUID of the event. **Allowable Values:**  36 char max |
| case\_token string  Returned | The associated case that triggered this event. **Allowable Values:**  36 char max |
| name string  Returned | The name of the event. **Allowable Values:**  255 char max |
| category string  Returned | The category to which the event belongs. **Allowable Values:**  `REG_E` |
| created\_by string  Required | The user creating the event. **Allowable Values:**  255 char max |
| event\_date string  Returned | When the event took place. **Allowable Values:**  Format: yyyy-MM-dd'T'HH:mm:ssZ |
| created\_time string  Returned | The timestamp when the event was created. **Allowable Values:**  Format: yyyy-MM-dd'T'HH:mm:ssZ |

## Sample request

```json JSON lines wrap theme={null}
{
  "name": "string",
  "created_by": "string",
  "event_date": "timestamp",
  }
}
```

## Sample response

```json JSON lines wrap theme={null}
{
    "token": "uuid",
    "case_token": "string",
    "name": "string",
    "category": "string",
    "created_by": "string",
    "event_date": "timestamp",
    "created_time": "timestamp"
}
```


## Related topics

- [Create event](https://www.marqeta.com/docs/core-api/disputes-pulse/create-event-pulse.md)
- [Disputes (Mastercard) Overview](https://www.marqeta.com/docs/core-api/disputes-mastercard.md)
- [Disputes (PULSE) Overview](https://www.marqeta.com/docs/core-api/disputes-pulse.md)
- [Disputes (Visa) Overview](https://www.marqeta.com/docs/core-api/disputes-visa.md)
- [Create a dispute case event with evidence](https://www.marqeta.com/docs/core-api/disputes-evidence-collection/create-case-event-with-evidence.md)
