How to create custom order status using API

How to create custom order status using API ?

do i need a private app for this or public app or both can do this ?
i see that shopify orders has number of statuses :https://help.shopify.com/en/manual/orders/order-status

but how can i add a new custom order status (fulfilment status or order status )