You can assign labels via the Missive API using the Post endpoint combined with the add_shared_labels attribute.
It should be noted that it only works with Missive organization labels and not email account labels.