Create Company Email
On this page
GraphQL endpoint: /company
Create a new email address for the company. The email will be added to the company's profile with the specified types and visibility settings.
Query
mutation (
$email: String!
$types: [CompanyEmailType!]
$visibility: [CompanyVisibilityType!]
) {
createCompanyEmail (
email: $email
types: $types
visibility: $visibility
) {
id
email
types
visibility
}
}
Variables
{
"email": "test1@email.com",
"types": [
"SUPPORT"
],
"visibility": [
"PARTNER",
"CUSTOMER"
]
}
Response
{
"data": {
"createCompanyEmail": {
"email": "test1@email.com",
"id": "00000000-0000-4000-8000-000000000001",
"types": [
"SUPPORT"
],
"visibility": [
"PARTNER",
"CUSTOMER"
]
}
}
}