---
updatedAt: 2025-11-12T22:15:15.000Z
agentTools:
  projectIndex: https://docs.nmp.arianee.com/llms.txt
---

# Events Management

Create an event that will be linked to a digital passport through the NMP.

## Overview

1. **Event Creation Request**: An interface provider initiates an API request to create an event on behalf of another actor (e.g., a repairer). The request includes the event details and client account wallet ID, which represents the identity of the repairer.
2. **JWT Signature by NMP**: NMP generates and signs a JWT, embedding the provided client account wallet ID to verify the right to link an event.
3. **Issuer Signature Retrieval**: A request is sent to the Custody Gateway to obtain the `issuerSignature` associated with the client account wallet.
4. **Final Event Creation**: Using the obtained `issuerSignature`, the event is created and securely linked to the correct client account wallet.

***

## Create Event

### URL

To create an identity, use [`/account/:accountId/delegatedIssuance/createEvent`](https://docs.nmp.arianee.com/reference/createevent).

```text URL
POST - https://{{nmpUrl}}/account/:accountId/delegatedIssuance/createEvent
```

### Body

```json Body Example
{
    "smartAsset":{
        "id":41242760
    },
    "content":{
                      "eventType": "initialSale",
                      "language": "fr-FR",
                      "title": "Première mise en service du produit",
                      "description": "Votre produit a été vendu pour la première fois par ...",
                      "eventDate": "2025-02-22T14:26:19.375Z",
                      "$schema": "https://cert.arianee.org/version3/ArianeeEvent-i18n.json"
                  }  
}
```

| Field        | Type   | Required | Description                                             |
| :----------- | :----- | :------- | :------------------------------------------------------ |
| `smartAsset` | Number | ✅        | ID of the digital passport that will receive the event. |
| `content`    | Object | ✅        | Content of the event.                                   |

### Return Payload

| Status Code | Success | Description                                                            |
| :---------- | :------ | :--------------------------------------------------------------------- |
| `200`       | `true`  | The transaction is sent to the blockchain. The event has been created. |