[comment]: # ({ba8f65cc-ab0a2bb1})
# Zabbix API changes in 6.4

[comment]: # ({/ba8f65cc-ab0a2bb1})

[comment]: # ({faaf4dc9-7ce9c300})
## 6.4.21

[comment]: # ({/faaf4dc9-7ce9c300})

[comment]: # ({2dda17f6-0ef84239})
#### API

[ZBX-25732](https://support.zabbix.com/browse/ZBX-25732) Added support for `Authorization` HTTP request header and `OPTIONS` HTTP request method in cross-origin requests ([CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)).

[comment]: # ({/2dda17f6-0ef84239})

[comment]: # ({850ffaa1-7527d0e1})
## 6.4.19

[comment]: # ({/850ffaa1-7527d0e1})

[comment]: # ({f4f0a963-bb1a12c9})
#### mediatype

[ZBX-25385](https://support.zabbix.com/browse/ZBX-25385) `mediatype.get`: Parameter `selectMessageTemplates` is now supported only for *Super admin* type users.<br>
[ZBX-25385](https://support.zabbix.com/browse/ZBX-25385) `mediatype.get`: *Admin* type users may now retrieve only the following [Media type object](/manual/api/reference/mediatype/object) properties: `mediatypeid`, `name`, `type`, `status`, `maxattempts`.<br>
[ZBX-25385](https://support.zabbix.com/browse/ZBX-25385) `mediatype.get`: When requesting user-related information of media types, *Admin* type users may now retrieve only data about their own user.

[comment]: # ({/f4f0a963-bb1a12c9})

[comment]: # ({48a8338c-9f7fba16})
## 6.4.5

[comment]: # ({/48a8338c-9f7fba16})

[comment]: # ({c423e97c-92de8f6b})
#### userdirectory

[ZBX-22800](https://support.zabbix.com/browse/ZBX-22800) `userdirectory.get`: Restored sorting by `name`.

[comment]: # ({/c423e97c-92de8f6b})

[comment]: # ({74cc4fea-8ecacdcc})
## 6.4.1

[comment]: # ({/74cc4fea-8ecacdcc})

[comment]: # ({d77e5686-accad54e})
#### script

[ZBX-19466](https://support.zabbix.com/browse/ZBX-19466) Changed validation of [Script](/manual/api/reference/script/object#script) object to be unique by combination of 2 properties: `name` and `menu_path`.

[comment]: # ({/d77e5686-accad54e})

[comment]: # ({001142ee-3936c52a})
#### user

[ZBXNEXT-8012](https://support.zabbix.com/browse/ZBXNEXT-8012) `user.checkAuthentication`: Added new parameter `token`.

[comment]: # ({/001142ee-3936c52a})
