Mutations
upsertMyEmailSignature
Creates or updates the email signature for the currently authenticated user. The signature is appended automatically to outbound emails sent by that user.
MUTATION
upsertMyEmailSignature(input: UpsertMyEmailSignatureInput!): UpsertMyEmailSignatureOutput!Arguments
input
required
Returns
emailSignature
result
error
Mutation
mutation UpsertMyEmailSignature($input: UpsertMyEmailSignatureInput!) {
upsertMyEmailSignature(input: $input) {
emailSignature {
text
markdown
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
unixTimestamp
iso8601
}
updatedBy {
__typename
... on UserActor {
__typename
}
}
}
result
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"text": "string"
}
}Response
{
"data": {
"upsertMyEmailSignature": {
"emailSignature": {
"text": "string",
"markdown": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"updatedBy": {
"__typename": "UserActor"
}
},
"result": "UPDATED",
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation UpsertMyEmailSignature($input: UpsertMyEmailSignatureInput!) {
upsertMyEmailSignature(input: $input) {
emailSignature {
text
markdown
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
unixTimestamp
iso8601
}
updatedBy {
__typename
... on UserActor {
__typename
}
}
}
result
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"text": "string"
}
}Response
{
"data": {
"upsertMyEmailSignature": {
"emailSignature": {
"text": "string",
"markdown": "string",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"updatedBy": {
"__typename": "UserActor"
}
},
"result": "UPDATED",
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}
