[#41157005] Added spec from create label to the API

This is resolves the following PT story:
Id: 42227623
Title: add create labels spec in API