> ## 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.

<div className="mb-4 flex items-center gap-2"><span className="rounded-lg font-bold px-1.5 py-0.5 text-sm leading-5 bg-blue-400/20 text-blue-700 dark:text-blue-400">POST</span><span className="flex items-center gap-0.5 font-mono text-sm"><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"cases"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"{token}"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"events"}</span></span></div>

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](/docs/core-api/disputes-evidence-collection/).

<h2 id="_path_parameter_2">
  Path parameter
</h2>

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

<h2 id="_body_field_details_7">
  Body field details
</h2>

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

<h2 id="_response_body_6">
  Response body
</h2>

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

<h2 id="_sample_request_2">
  Sample request
</h2>

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

<h2 id="_sample_response_2">
  Sample response
</h2>

```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](/docs/core-api/disputes-mastercard/create-event.md)
- [Disputes (Mastercard) Overview](/docs/core-api/disputes-mastercard.md)
- [Disputes (PULSE) Overview](/docs/core-api/disputes-pulse.md)
- [Disputes (Visa) Overview](/docs/core-api/disputes-visa.md)
- [Create a dispute case event with evidence](/docs/core-api/disputes-evidence-collection/create-case-event-with-evidence.md)
