# 4.23. Organisation Administrator - Create organisation access tokens [new]

<table border="1" id="bkmrk-id-4.1.-description-" style="border-collapse: collapse; width: 100%; height: 283px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr style="height: 29px;"><td style="height: 29px;">**Id**</td><td style="height: 29px;">4.23.</td></tr><tr style="height: 109px;"><td style="height: 109px;">**Description**</td><td style="height: 109px;">As an **<span class="notion-enable-hover" data-token-index="1">Organisation Administrator</span>**   
  
I need to be able to create access tokens linked to existing users of my organisation  
  
So that I can grant access to the APIs to the different users</td></tr><tr style="height: 29px;"><td style="height: 29px;">**Priority**</td><td style="height: 29px;"><span style="color: rgb(230, 126, 35);">**Medium**</span></td></tr><tr style="height: 29px;"><td style="height: 29px;">**Actors**</td><td style="height: 29px;">Organisation Administrator</td></tr><tr style="height: 29px;"><td style="height: 29px;">**API Calls**</td><td style="height: 29px;">**POST** /admin/tokens</td></tr><tr style="height: 29px;"><td style="height: 29px;">**Linked Processes**</td><td style="height: 29px;">N/A</td></tr><tr style="height: 29px;"><td style="height: 29px;">**Status**</td><td style="height: 29px;">**<span style="color: rgb(22, 145, 121);">Implemented</span>**</td></tr></tbody></table>

### Preconditions

1. The User must be authenticated and have the **Organisation Administrator** role.
2. The User for which the **Organisation Administrator** wants to create a token must exist on the platform.

### Postconditions

1. The User token is generated

### Main flow

1. The **Organisation Administrator** retrieves the users.
2. The **Organisation Administrator** uses the API to generate a token for the selected user.
3. The system returns the generated token

### Exceptions

#### \[400 Bad Request\] Invalid input:

If mandatory fields are missing or invalid, the system returns an error message.

#### \[409 Already exists\] Token already exists

A token already exists for the given user.

#### \[500 Internal Server Error\] System Error

If the system fails to save changes due to an internal error, it displays an appropriate message and logs the error for further investigation.