API Reference · Notifications · Providers
List provider profiles
Query
providerProfilesLists the provider profiles connected to the organization.
providerProfiles(
organizationId: ID!
): [ProviderProfile!]!Arguments
Field
Type
Returns
[ProviderProfile!]!
Field
Type
Example
query ProviderProfiles($organizationId: ID!) {
providerProfiles(organizationId: $organizationId) {
id
name
type
configuration {
__typename
... on SlackAppProviderProfileConfig {
teamName
}
... on DiscordAppProviderProfileConfig {
guildName
}
... on TeamsProviderProfileConfig {
teamId
teamName
}
... on MailProviderProfileConfig {
fromAddress
fromName
}
}
}
}Example response
{
"data": {
"providerProfiles": [
{
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"name": "Example name",
"type": "MAIL",
"configuration": {
"__typename": "SlackAppProviderProfileConfig",
"teamName": "Example teamName"
}
}
]
}
}