Data in format api from end device to coordinator


I need in my project to send data that the END DEVICE is receiving from the MCU and send it to the coordinator in the API format. The opposite process I can use with frame type 0x10.
How do I do?