YOWO7 API
Messaging Inbox

POST

/api/v1/workspaces/{workspaceId}/messaging/inbox/labels

Scope inbox:write

Create an inbox label with a name and an optional color.

Pfad

workspaceIdPflicht
string
Workspace that owns the resource.

Request

application/json · MessagingInboxLabelWriteDto

senderIdentityId
string (uuid)
Identifier of the sender identity.
name
string
Display name.
color
string
Color.

Antworten

200MessagingInboxLabelDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.

Messaging inbox label.

id
string (uuid)
Identifier.
senderIdentityId
string (uuid)
Identifier of the sender identity.
name
string
Display name.
color
string
Color.
400ApiProblemThe request is invalid.
401ApiProblemThe private app token is missing or invalid.
403ApiProblemThe token is missing the required scope, or this action is not allowed.
404ApiProblemThe workspace or resource was not found.
defaultApiProblemError response.
Create a label · YOWO7 API