{ "opencollection": "1.0.0", "info": { "name": "MagicBell apns project API", "version": "2.0.0" }, "items": [ { "info": { "name": "project", "type": "folder" }, "items": [ { "info": { "name": "list_broadcasts", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/broadcasts", "params": [ { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Retrieves a paginated list of broadcasts for the project. Returns basic information about each broadcast including its creation time and status." }, { "info": { "name": "create_broadcast", "type": "http" }, "http": { "method": "POST", "url": "https://api.magicbell.com/v2/broadcasts", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new broadcast message. When a broadcast is created, it generates individual notifications for relevant users within the project. Only administrators can create broadcasts." }, { "info": { "name": "fetch_broadcast", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/broadcasts/:broadcast_id", "params": [ { "name": "broadcast_id", "value": "", "type": "path" } ] }, "docs": "Retrieves detailed information about a specific broadcast by its ID. Includes the broadcast's configuration and current status." }, { "info": { "name": "get_project_deliveryconfig", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/channels/deliveryconfig", "params": [ { "name": "key", "value": "", "type": "query" } ] } }, { "info": { "name": "save_project_deliveryconfig", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/channels/deliveryconfig", "body": { "type": "json", "data": "{}" } } }, { "info": { "name": "get_events", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/events", "params": [ { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Retrieves a paginated list of events for the project." }, { "info": { "name": "List Integrations", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations", "params": [ { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all available and configured integrations for the project. Returns a summary of each integration including its type, status, and basic configuration information." }, { "info": { "name": "get_apns_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/apns" }, "docs": "Retrieves the current apns integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_apns_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/apns", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a apns integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_apns_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/apns" }, "docs": "Removes a apns integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_apns_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/apns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific apns integration instance by ID from the project." }, { "info": { "name": "get_awssns_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/awssns" }, "docs": "Retrieves the current awssns integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_awssns_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/awssns", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a awssns integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_awssns_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/awssns" }, "docs": "Removes a awssns integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_awssns_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/awssns/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific awssns integration instance by ID from the project." }, { "info": { "name": "get_expo_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/expo" }, "docs": "Retrieves the current expo integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_expo_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/expo", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a expo integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_expo_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/expo" }, "docs": "Removes a expo integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_expo_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/expo/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific expo integration instance by ID from the project." }, { "info": { "name": "get_fcm_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/fcm" }, "docs": "Retrieves the current fcm integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_fcm_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/fcm", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a fcm integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_fcm_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/fcm" }, "docs": "Removes a fcm integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_fcm_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/fcm/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific fcm integration instance by ID from the project." }, { "info": { "name": "get_github_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/github" }, "docs": "Retrieves the current github integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_github_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/github", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a github integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_github_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/github" }, "docs": "Removes a github integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_github_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/github/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific github integration instance by ID from the project." }, { "info": { "name": "get_inbox_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/inbox" }, "docs": "Retrieves the current inbox integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_inbox_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/inbox", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a inbox integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_inbox_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/inbox" }, "docs": "Removes a inbox integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_inbox_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/inbox/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific inbox integration instance by ID from the project." }, { "info": { "name": "get_mailgun_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/mailgun" }, "docs": "Retrieves the current mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_mailgun_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/mailgun", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a mailgun integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_mailgun_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/mailgun" }, "docs": "Removes a mailgun integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_mailgun_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/mailgun/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific mailgun integration instance by ID from the project." }, { "info": { "name": "get_ping_email_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/ping_email" }, "docs": "Retrieves the current ping_email integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_ping_email_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/ping_email", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a ping_email integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_ping_email_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/ping_email" }, "docs": "Removes a ping_email integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_ping_email_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/ping_email/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific ping_email integration instance by ID from the project." }, { "info": { "name": "get_sendgrid_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/sendgrid" }, "docs": "Retrieves the current sendgrid integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_sendgrid_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/sendgrid", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a sendgrid integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_sendgrid_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/sendgrid" }, "docs": "Removes a sendgrid integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_sendgrid_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/sendgrid/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific sendgrid integration instance by ID from the project." }, { "info": { "name": "get_ses_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/ses" }, "docs": "Retrieves the current ses integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_ses_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/ses", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a ses integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_ses_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/ses" }, "docs": "Removes a ses integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_ses_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/ses/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific ses integration instance by ID from the project." }, { "info": { "name": "get_slack_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/slack" }, "docs": "Retrieves the current slack integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_slack_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/slack", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a slack integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_slack_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/slack" }, "docs": "Removes a slack integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_slack_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/slack/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific slack integration instance by ID from the project." }, { "info": { "name": "get_stripe_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/stripe" }, "docs": "Retrieves the current stripe integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_stripe_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/stripe", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a stripe integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_stripe_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/stripe" }, "docs": "Removes a stripe integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_stripe_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/stripe/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific stripe integration instance by ID from the project." }, { "info": { "name": "get_templates_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/templates" }, "docs": "Retrieves the current templates integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_templates_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/templates", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a templates integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_templates_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/templates" }, "docs": "Removes a templates integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_templates_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/templates/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific templates integration instance by ID from the project." }, { "info": { "name": "get_twilio_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/twilio" }, "docs": "Retrieves the current twilio integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_twilio_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/twilio", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a twilio integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_twilio_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/twilio" }, "docs": "Removes a twilio integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_twilio_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/twilio/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific twilio integration instance by ID from the project." }, { "info": { "name": "get_web_push_integration", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/integrations/web_push" }, "docs": "Retrieves the current web_push integration configurations for a specific integration type in the project. Returns configuration details and status information." }, { "info": { "name": "save_web_push_integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.magicbell.com/v2/integrations/web_push", "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a web_push integration for the project. Only administrators can configure integrations." }, { "info": { "name": "delete_web_push_integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/web_push" }, "docs": "Removes a web_push integration configuration from the project. This will disable the integration's functionality within the project." }, { "info": { "name": "delete_web_push_integration_by_id", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/integrations/web_push/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specific web_push integration instance by ID from the project." }, { "info": { "name": "fetch_project_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/jwt/project", "params": [ { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Retrieves a list of all active project-level JWT tokens. Returns a paginated list showing token metadata including creation date, last used date, and expiration time. For security reasons, the actual token values are not included in the response." }, { "info": { "name": "create_project_jwt", "type": "http" }, "http": { "method": "POST", "url": "https://api.magicbell.com/v2/jwt/project", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new project-level JWT token. These tokens provide project-wide access and should be carefully managed. Only administrators can create project tokens. The returned token should be securely stored as it cannot be retrieved again after creation." }, { "info": { "name": "discard_project_jwt", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/jwt/project/:token_id", "params": [ { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Immediately revokes a project-level JWT token. Once revoked, any requests using this token will be rejected. This action is immediate and cannot be undone. Active sessions using this token will be terminated." }, { "info": { "name": "create_user_jwt", "type": "http" }, "http": { "method": "POST", "url": "https://api.magicbell.com/v2/jwt/user", "body": { "type": "json", "data": "{}" } }, "docs": "Issues a new user-specific JWT token. These tokens are scoped to individual user permissions and access levels. Only administrators can create user tokens. The token is returned only once at creation time and cannot be retrieved later." }, { "info": { "name": "discard_user_jwt", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/jwt/user/:token_id", "params": [ { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Revokes a specific user's JWT token. This immediately invalidates the token and terminates any active sessions using it. This action cannot be undone. Administrators should use this to revoke access when needed for security purposes." }, { "info": { "name": "fetch_user_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/jwt/user/:user_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all JWT tokens associated with a specific user. Returns token metadata including creation time, last access time, and expiration date. Administrators can use this to audit user token usage and manage active sessions. Token values are not included in the response for security reasons." }, { "info": { "name": "get_mobile_push_apns_user_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/apns/tokens", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all mobile_push tokens associated with a specific user. This endpoint is available to project administrators and returns a paginated list of tokens, including both active and revoked tokens." }, { "info": { "name": "get_mobile_push_apns_user_token", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/apns/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a specific mobile_push token by its ID for a given user. This endpoint is available to project administrators and requires project-level authentication. Use this to inspect token details including its status, creation date, and associated metadata." }, { "info": { "name": "discard_mobile_push_apns_user_token", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/apns/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Revokes a specific user's mobile_push token. This endpoint is available to project administrators and permanently invalidates the specified token. Once revoked, the token can no longer be used to access channel features. This action cannot be undone." }, { "info": { "name": "get_mobile_push_expo_user_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/expo/tokens", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all mobile_push tokens associated with a specific user. This endpoint is available to project administrators and returns a paginated list of tokens, including both active and revoked tokens." }, { "info": { "name": "get_mobile_push_expo_user_token", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/expo/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a specific mobile_push token by its ID for a given user. This endpoint is available to project administrators and requires project-level authentication. Use this to inspect token details including its status, creation date, and associated metadata." }, { "info": { "name": "discard_mobile_push_expo_user_token", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/expo/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Revokes a specific user's mobile_push token. This endpoint is available to project administrators and permanently invalidates the specified token. Once revoked, the token can no longer be used to access channel features. This action cannot be undone." }, { "info": { "name": "get_mobile_push_fcm_user_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/fcm/tokens", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all mobile_push tokens associated with a specific user. This endpoint is available to project administrators and returns a paginated list of tokens, including both active and revoked tokens." }, { "info": { "name": "get_mobile_push_fcm_user_token", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/fcm/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a specific mobile_push token by its ID for a given user. This endpoint is available to project administrators and requires project-level authentication. Use this to inspect token details including its status, creation date, and associated metadata." }, { "info": { "name": "discard_mobile_push_fcm_user_token", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/users/:user_id/channels/mobile_push/fcm/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Revokes a specific user's mobile_push token. This endpoint is available to project administrators and permanently invalidates the specified token. Once revoked, the token can no longer be used to access channel features. This action cannot be undone." }, { "info": { "name": "get_slack_user_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/slack/tokens", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all slack tokens associated with a specific user. This endpoint is available to project administrators and returns a paginated list of tokens, including both active and revoked tokens." }, { "info": { "name": "get_slack_user_token", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/slack/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a specific slack token by its ID for a given user. This endpoint is available to project administrators and requires project-level authentication. Use this to inspect token details including its status, creation date, and associated metadata." }, { "info": { "name": "discard_slack_user_token", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/users/:user_id/channels/slack/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Revokes a specific user's slack token. This endpoint is available to project administrators and permanently invalidates the specified token. Once revoked, the token can no longer be used to access channel features. This action cannot be undone." }, { "info": { "name": "get_teams_user_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/teams/tokens", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all teams tokens associated with a specific user. This endpoint is available to project administrators and returns a paginated list of tokens, including both active and revoked tokens." }, { "info": { "name": "get_teams_user_token", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/teams/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a specific teams token by its ID for a given user. This endpoint is available to project administrators and requires project-level authentication. Use this to inspect token details including its status, creation date, and associated metadata." }, { "info": { "name": "discard_teams_user_token", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/users/:user_id/channels/teams/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Revokes a specific user's teams token. This endpoint is available to project administrators and permanently invalidates the specified token. Once revoked, the token can no longer be used to access channel features. This action cannot be undone." }, { "info": { "name": "get_web_push_user_tokens", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/web_push/tokens", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "page[size]", "value": "", "type": "query" }, { "name": "page[after]", "value": "", "type": "query" }, { "name": "page[before]", "value": "", "type": "query" } ] }, "docs": "Lists all web_push tokens associated with a specific user. This endpoint is available to project administrators and returns a paginated list of tokens, including both active and revoked tokens." }, { "info": { "name": "get_web_push_user_token", "type": "http" }, "http": { "method": "GET", "url": "https://api.magicbell.com/v2/users/:user_id/channels/web_push/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Retrieves a specific web_push token by its ID for a given user. This endpoint is available to project administrators and requires project-level authentication. Use this to inspect token details including its status, creation date, and associated metadata." }, { "info": { "name": "discard_web_push_user_token", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.magicbell.com/v2/users/:user_id/channels/web_push/tokens/:token_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "token_id", "value": "", "type": "path" } ] }, "docs": "Revokes a specific user's web_push token. This endpoint is available to project administrators and permanently invalidates the specified token. Once revoked, the token can no longer be used to access channel features. This action cannot be undone." } ] } ], "bundled": true }