API for iblai
API Reference//
- List notification templates
notification_v1_campaigns_unsubscribe_retrieve
notification_v1_orgs_notifications_retrieve
notification_v1_orgs_notifications_update
notification_v1_orgs_notifications_bulk_update_partial_update
notification_v1_orgs_users_notifications_retrieve
notification_v1_orgs_users_notifications_update
notification_v1_orgs_users_notifications_count_retrieve
notification_v1_orgs_users_notifications_destroy
notification_v1_orgs_users_notifications_bulk_update_partial_update
notification_v1_orgs_users_register_fcm_token_create
notification_v1_orgs_users_register_fcm_token_destroy
notification_v1_orgs_users_send_notification_create
notification_v1_orgs_campaigns_enable_create
notification_v1_orgs_campaigns_exclude_create
notification_v1_orgs_mark_all_as_read_create
Get build recipients
Get notification context data
Preview notification
Send notification
Validate notification source
Test SMTP credentials for a platform
Get notification template details
Update notification template
Reset template to default
Send test notification
Toggle notification preference
List notification templat...
ibl-data-manager (4.84.1-ai-plus)
Body
- application/json
- application/scim+json
- application/x-www-form-urlencoded
- multipart/form-data
- */*
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/notification/v1/platforms/{platform_key}/config/test-smtp/
- https://base.manager.iblai.app/api/notification/v1/platforms/{platform_key}/config/test-smtp/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.ibl.ai/_mock/apis/ibl/api/notification/v1/platforms/{platform_key}/config/test-smtp/' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"smtp_host": "string",
"smtp_port": 1,
"smtp_username": "string",
"smtp_password": "string",
"use_tls": true,
"use_ssl": false,
"test_email": "user@example.com",
"from_email": "user@example.com"
}'Response
application/json
{ "status": "string", "message": "string", "success": true }
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/notification/v1/platforms/{platform_key}/templates/
- https://base.manager.iblai.app/api/notification/v1/platforms/{platform_key}/templates/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/notification/v1/platforms/{platform_key}/templates/' \
-H 'Authorization: YOUR_API_KEY_HERE'Bodyapplication/jsonArray [ ]
One of:
Select the type of notification from the available options.
DEFAULT_TEMPLATE- Default TemplateAPP_REGISTRATION- App RegistrationUSER_NOTIF_USER_REGISTRATION- User Notif User RegistrationUSER_NOTIF_COURSE_ENROLLMENT- User Notif Course EnrollmentADMIN_NOTIF_COURSE_ENROLLMENT- Admin Notif Course EnrollmentUSER_NOTIF_USER_INACTIVITY- User Notif User InactivityUSER_NOTIF_COURSE_COMPLETION- User Notif Course CompletionUSER_NOTIF_CREDENTIALS- User Notif CredentialsCUSTOM_NOTIFICATION- Custom NotificationPLATFORM_INVITATION- Platform InvitationPROGRAM_INVITATION- Program InvitationCOURSE_INVITATION- Course InvitationUSER_NOTIF_LEARNER_PROGRESS- User Notif Learner ProgressPROACTIVE_LEARNER_NOTIFICATION- Proactive Learner NotificationROLE_CHANGE- Role ChangeCOURSE_LICENSE_ASSIGNMENT- Course License AssignmentCOURSE_LICENSE_GROUP_ASSIGNMENT- Course License Group AssignmentPROGRAM_LICENSE_ASSIGNMENT- Program License AssignmentPROGRAM_LICENSE_GROUP_ASSIGNMENT- Program License Group AssignmentUSER_LICENSE_ASSIGNMENT- User License AssignmentUSER_LICENSE_GROUP_ASSIGNMENT- User License Group Assignment
string or null(Type2a5Enum)
Enum"DEFAULT_TEMPLATE""APP_REGISTRATION""USER_NOTIF_USER_REGISTRATION""USER_NOTIF_COURSE_ENROLLMENT""ADMIN_NOTIF_COURSE_ENROLLMENT""USER_NOTIF_USER_INACTIVITY""USER_NOTIF_COURSE_COMPLETION""USER_NOTIF_CREDENTIALS""CUSTOM_NOTIFICATION""PLATFORM_INVITATION"
Admin-friendly description of what this notification does, when it triggers, and what data it needs
Response
application/json
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "DEFAULT_TEMPLATE", "name": "string", "description": "string", "is_inherited": true, "source_platform": "string", "is_enabled": true, "can_customize": true, "is_custom": false, "message_title": "string", "email_subject": "string", "spas": "string", "allowed_channels": "string", "available_context": "string" } ]
- Mock serverhttps://docs.ibl.ai/_mock/apis/ibl/api/notification/v1/platforms/{platform_key}/templates/{notification_type}/
- https://base.manager.iblai.app/api/notification/v1/platforms/{platform_key}/templates/{notification_type}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.ibl.ai/_mock/apis/ibl/api/notification/v1/platforms/{platform_key}/templates/{notification_type}/' \
-H 'Authorization: YOUR_API_KEY_HERE'Bodyapplication/json
One of:
Select the type of notification from the available options.
DEFAULT_TEMPLATE- Default TemplateAPP_REGISTRATION- App RegistrationUSER_NOTIF_USER_REGISTRATION- User Notif User RegistrationUSER_NOTIF_COURSE_ENROLLMENT- User Notif Course EnrollmentADMIN_NOTIF_COURSE_ENROLLMENT- Admin Notif Course EnrollmentUSER_NOTIF_USER_INACTIVITY- User Notif User InactivityUSER_NOTIF_COURSE_COMPLETION- User Notif Course CompletionUSER_NOTIF_CREDENTIALS- User Notif CredentialsCUSTOM_NOTIFICATION- Custom NotificationPLATFORM_INVITATION- Platform InvitationPROGRAM_INVITATION- Program InvitationCOURSE_INVITATION- Course InvitationUSER_NOTIF_LEARNER_PROGRESS- User Notif Learner ProgressPROACTIVE_LEARNER_NOTIFICATION- Proactive Learner NotificationROLE_CHANGE- Role ChangeCOURSE_LICENSE_ASSIGNMENT- Course License AssignmentCOURSE_LICENSE_GROUP_ASSIGNMENT- Course License Group AssignmentPROGRAM_LICENSE_ASSIGNMENT- Program License AssignmentPROGRAM_LICENSE_GROUP_ASSIGNMENT- Program License Group AssignmentUSER_LICENSE_ASSIGNMENT- User License AssignmentUSER_LICENSE_GROUP_ASSIGNMENT- User License Group Assignment
string or null(Type2a5Enum)read-only
Enum"DEFAULT_TEMPLATE""APP_REGISTRATION""USER_NOTIF_USER_REGISTRATION""USER_NOTIF_COURSE_ENROLLMENT""ADMIN_NOTIF_COURSE_ENROLLMENT""USER_NOTIF_USER_INACTIVITY""USER_NOTIF_COURSE_COMPLETION""USER_NOTIF_CREDENTIALS""CUSTOM_NOTIFICATION""PLATFORM_INVITATION"
Admin-friendly description of what this notification does, when it triggers, and what data it needs
Sender email address (default: IBL noreply@ibl.ai)
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "DEFAULT_TEMPLATE", "name": "string", "description": "string", "message_title": "string", "message_body": "string", "short_message_body": "string", "email_subject": "string", "email_from_address": "string", "email_html_template": "string", "spas_detail": [ { … } ], "allowed_channels_detail": [ { … } ], "is_inherited": true, "is_enabled": true, "source_platform": "string", "metadata": null, "available_context": "string", "proactive_prompt_message": "string", "periodic_config": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }