> ## 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 | Unique identifier of the dispute case. **Allowable Values:**  36 char max |

## Body field details

| Fields | Description |
| - | - |
| name string  Required | Name of the event. **Allowable Values:**  255 char max |
| event\_date datetime  Optional | Date and time when the event took place. **Allowable Values:**  Format: yyyy-MM-dd'T'HH:mm:ssZ |
| created\_by string  Required | Indicates the actor creating the event. **Allowable Values:**  255 char max |

## Response body

| Fields | Description |
| - | - |
| token string  Returned | Unique identifier of the event. **Allowable Values:**  36 char max |
| case\_token string  Returned | Unique identifier of the associated case that triggered this event. **Allowable Values:**  36 char max |
| name string  Returned | Name of the event. **Allowable Values:**  255 char max |
| category string  Returned | Category to which the event belongs. **Allowable Values:**  `REG_E` |
| created\_by string  Required | Indicates the actor who created the event. **Allowable Values:**  255 char max |
| event\_date datetime  Returned | Date and time when the event took place. **Allowable Values:**  Format: yyyy-MM-dd'T'HH:mm:ssZ |
| created\_time datetime  Returned | Date and time 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-mastercard/create-event-mastercard.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)
