GraphQL Schema
This is the full GraphQL schema for the UserVitals API.
1
type PublicUser {
2
id: String!
3
email: String
4
name: String
5
imageUrl: String
6
}
7
8
type PublicTeam {
9
id: String!
10
name: String!
11
subdomain: String!
12
identifier: String!
13
imageUrl: String
14
}
15
16
type MessageLabel {
17
id: String
18
name: String
19
slug: String
20
color: String
21
}
22
23
type MessageItemLabel {
24
id: String!
25
label: MessageLabel!
26
}
27
28
enum MessageStatusTypes {
29
UNREVIEWED
30
REVIEWED
31
}
32
33
input MessageCreateInput {
34
title: String
35
content: String
36
customerEmail: String
37
customerName: String
38
status: MessageStatusTypes
39
sourceUrl: String
40
labels: [String!]
41
}
42
43
type Message {
44
id: String
45
title: String
46
content: String
47
contact: PublicUser
48
integration: String
49
status: String
50
sourceUrl: String
51
labels: [MessageItemLabel]
52
}
53
54
type Mutation {
55
createMessage(input: MessageCreateInput!): Message
56
}
57
58
type Query {
59
me: PublicUser
60
}
Copied!
Last modified 2mo ago
Copy link