Appearance
Integraties (Telegram, social, SMTP)
GraphQL mutations: Integraties (Telegram, social, SMTP).
Endpoint: POST https://graphql.persmonitor.nl/graphql
Intern · VPN
Mutations voor de monitor-app; op productie via /internal/.
addRssCustomFeed
Add a custom RSS feed for the current user. If the URL already exists (default or other user), the same feed is reused and linked.
Return type: RssFeed
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
url | String! | Ja | RSS feed URL. |
name | String | Nee | Display name (optional, defaults to URL). |
Voorbeeld:
graphql
query AddRssCustomFeed(
$name: String
) {
addRssCustomFeed(url: $url, name: $name) {
# selecteer velden uit het return type
}
}createAiPrompt
Maak een AI-prompt aan voor een organisatie.
Return type: AiPrompt
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | CreateAiPromptInput! | Ja |
Voorbeeld:
graphql
query CreateAiPrompt {
createAiPrompt(input: $input) {
# selecteer velden uit het return type
}
}createCalendar
Create a calendar (iCal agenda) for the current environment. Requires Authorization Bearer token.
Return type: Calendar
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | CreateCalendarInput! | Ja |
Voorbeeld:
graphql
query CreateCalendar {
createCalendar(input: $input) {
# selecteer velden uit het return type
}
}createFacebookAccount
Koppel een Facebook-pagina aan de organisatie (page access token van OAuth). Vereist plan met custom services.
Return type: FacebookAccount
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja | |
pageId | String! | Ja | |
pageName | String! | Ja | |
userId | String! | Ja | |
accessToken | String! | Ja |
Voorbeeld:
graphql
query CreateFacebookAccount {
createFacebookAccount(organizationUuid: $organizationUuid, pageId: $pageId, pageName: $pageName) {
# selecteer velden uit het return type
}
}createLiveLocationSource
Maak een live locatiebron aan voor het huidige environment. Vereist Authorization Bearer token.
Return type: LiveLocationSource
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | CreateLiveLocationSourceInput! | Ja |
Voorbeeld:
graphql
query CreateLiveLocationSource {
createLiveLocationSource(input: $input) {
# selecteer velden uit het return type
}
}createTelegramBot
Create a new Telegram bot for an organization. Requires a plan that supports custom services.
Return type: TelegramBot
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja | |
token | String! | Ja | |
username | String | Nee | |
name | String | Nee |
Voorbeeld:
graphql
query CreateTelegramBot(
$username: String
$name: String
) {
createTelegramBot(organizationUuid: $organizationUuid, token: $token, username: $username) {
# selecteer velden uit het return type
}
}createTemplate
Maak een custom template aan (alleen Unlimited plan).
Return type: NotificationTemplate
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | CreateTemplateInput! | Ja |
Voorbeeld:
graphql
query CreateTemplate {
createTemplate(input: $input) {
# selecteer velden uit het return type
}
}createTwitterAccount
Koppel een Twitter/X account aan de organisatie (OAuth-tokens van de callback). Vereist org TwitterConfig of platform TWITTER_CONSUMER_* keys.
Return type: TwitterAccount
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja | |
userId | String! | Ja | |
username | String! | Ja | |
accessToken | String! | Ja | |
refreshToken | String! | Ja |
Voorbeeld:
graphql
query CreateTwitterAccount {
createTwitterAccount(organizationUuid: $organizationUuid, userId: $userId, username: $username) {
# selecteer velden uit het return type
}
}deleteAiPrompt
Verwijder een AI-prompt.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja |
Voorbeeld:
graphql
query DeleteAiPrompt {
deleteAiPrompt(uuid: $uuid) {
# selecteer velden uit het return type
}
}deleteCalendar
Delete a calendar for the current environment. Requires Authorization Bearer token.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
calendarUuid | String! | Ja |
Voorbeeld:
graphql
query DeleteCalendar {
deleteCalendar(calendarUuid: $calendarUuid) {
# selecteer velden uit het return type
}
}deleteFacebookAccount
Verwijder een gekoppelde Facebook-pagina.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
facebookAccountUuid | String! | Ja |
Voorbeeld:
graphql
query DeleteFacebookAccount {
deleteFacebookAccount(facebookAccountUuid: $facebookAccountUuid) {
# selecteer velden uit het return type
}
}deleteLiveLocationSource
Verwijder een live locatiebron. Vereist Authorization Bearer token.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja |
Voorbeeld:
graphql
query DeleteLiveLocationSource {
deleteLiveLocationSource(uuid: $uuid) {
# selecteer velden uit het return type
}
}deleteTelegramBot
Delete a Telegram bot.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja |
Voorbeeld:
graphql
query DeleteTelegramBot {
deleteTelegramBot(uuid: $uuid) {
# selecteer velden uit het return type
}
}deleteTemplate
Verwijder een custom template.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja |
Voorbeeld:
graphql
query DeleteTemplate {
deleteTemplate(uuid: $uuid) {
# selecteer velden uit het return type
}
}deleteTwitterAccount
Verwijder een gekoppeld Twitter-account. Kan alleen als het niet aan een kanaal is gekoppeld.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
twitterAccountUuid | String! | Ja |
Voorbeeld:
graphql
query DeleteTwitterAccount {
deleteTwitterAccount(twitterAccountUuid: $twitterAccountUuid) {
# selecteer velden uit het return type
}
}previewAiContent
Preview AI title/body for a sample alert using org/channel prompts.
Return type: AiContentPreview!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | PreviewAiContentInput! | Ja |
Voorbeeld:
graphql
query PreviewAiContent {
previewAiContent(input: $input) {
# selecteer velden uit het return type
}
}registerTelegramPendingLink
Registreer een pending Telegram-koppeling. De organisatie-UUID wordt de koppelcode; bij /start {orgUuid} in Telegram wordt het kanaal direct aangemaakt.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja | |
environmentUuid | String! | Ja |
Voorbeeld:
graphql
query RegisterTelegramPendingLink {
registerTelegramPendingLink(organizationUuid: $organizationUuid, environmentUuid: $environmentUuid) {
# selecteer velden uit het return type
}
}removeRssCustomFeed
Remove a custom RSS feed for the current user (only unlinks, feed data remains for others).
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
feedUuid | String! | Ja | UUID of the feed to remove from your custom list. |
Voorbeeld:
graphql
query RemoveRssCustomFeed {
removeRssCustomFeed(feedUuid: $feedUuid) {
# selecteer velden uit het return type
}
}renameLiveLocationSource
Hernoem een live locatiebron. Vereist Authorization Bearer token.
Return type: LiveLocationSource
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja | |
name | String! | Ja |
Voorbeeld:
graphql
query RenameLiveLocationSource {
renameLiveLocationSource(uuid: $uuid, name: $name) {
# selecteer velden uit het return type
}
}resetCustomServices
Reset all custom services to platform defaults.
Return type: CustomServices
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja |
Voorbeeld:
graphql
query ResetCustomServices {
resetCustomServices(organizationUuid: $organizationUuid) {
# selecteer velden uit het return type
}
}resetOrganizationAiSettings
Reset organization AI settings (removes API key and custom prompt).
Return type: OrganizationAiSettings!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja |
Voorbeeld:
graphql
query ResetOrganizationAiSettings {
resetOrganizationAiSettings(organizationUuid: $organizationUuid) {
# selecteer velden uit het return type
}
}setFireStationAssetCover
Kies welk gekoppeld asset de cover is van een kazerne (platform admin).
Return type: Asset!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
stationUuid | String! | Ja | |
mediaUuid | String! | Ja | UUID van het Media/Asset-node. |
Voorbeeld:
graphql
query SetFireStationAssetCover {
setFireStationAssetCover(stationUuid: $stationUuid, mediaUuid: $mediaUuid) {
# selecteer velden uit het return type
}
}setFireVehicleAssetCover
Kies welk gekoppeld asset de cover is van een voertuig (platform admin).
Return type: Asset!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
vehicleUuid | String! | Ja | |
mediaUuid | String! | Ja | UUID van het Media/Asset-node. |
Voorbeeld:
graphql
query SetFireVehicleAssetCover {
setFireVehicleAssetCover(vehicleUuid: $vehicleUuid, mediaUuid: $mediaUuid) {
# selecteer velden uit het return type
}
}testSms
Test the custom SMS configuration.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja |
Voorbeeld:
graphql
query TestSms {
testSms(organizationUuid: $organizationUuid) {
# selecteer velden uit het return type
}
}testSmtp
Test the custom SMTP configuration.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja |
Voorbeeld:
graphql
query TestSmtp {
testSmtp(organizationUuid: $organizationUuid) {
# selecteer velden uit het return type
}
}testTelegramBot
Test the custom Telegram bot configuration.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
organizationUuid | String! | Ja |
Voorbeeld:
graphql
query TestTelegramBot {
testTelegramBot(organizationUuid: $organizationUuid) {
# selecteer velden uit het return type
}
}updateAiPrompt
Werk een AI-prompt bij.
Return type: AiPrompt
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | UpdateAiPromptInput! | Ja |
Voorbeeld:
graphql
query UpdateAiPrompt {
updateAiPrompt(input: $input) {
# selecteer velden uit het return type
}
}updateCustomServices
Update custom services configuration for an organization. Requires Unlimited plan.
Return type: CustomServices
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | UpdateCustomServicesInput! | Ja |
Voorbeeld:
graphql
query UpdateCustomServices {
updateCustomServices(input: $input) {
# selecteer velden uit het return type
}
}updateOrganizationAiSettings
Update organization AI provider settings. API keys are encrypted and never returned.
Return type: OrganizationAiSettings!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | UpdateOrganizationAiSettingsInput! | Ja |
Voorbeeld:
graphql
query UpdateOrganizationAiSettings {
updateOrganizationAiSettings(input: $input) {
# selecteer velden uit het return type
}
}updateTelegramBot
Update a Telegram bot.
Return type: TelegramBot
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja | |
token | String | Nee | |
username | String | Nee | |
name | String | Nee |
Voorbeeld:
graphql
query UpdateTelegramBot(
$token: String
$username: String
$name: String
) {
updateTelegramBot(uuid: $uuid, token: $token, username: $username) {
# selecteer velden uit het return type
}
}updateTemplate
Werk een custom template bij.
Return type: NotificationTemplate
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
input | UpdateTemplateInput! | Ja |
Voorbeeld:
graphql
query UpdateTemplate {
updateTemplate(input: $input) {
# selecteer velden uit het return type
}
}verifyTelegramBot
Verify a Telegram bot by testing connection with the Telegram API.
Return type: Boolean!
Authenticatie: Ingelogde gebruiker (sessie- of API-token)
Argumenten:
| Argument | Type | Verplicht | Beschrijving |
|---|---|---|---|
uuid | String! | Ja |
Voorbeeld:
graphql
query VerifyTelegramBot {
verifyTelegramBot(uuid: $uuid) {
# selecteer velden uit het return type
}
}