Author - Enrollments Subscriptions API

Get PandaPush subscription info

GET /api/author/course_templates/:course_template_id/enrollments/subscription

Get PandaPush subscription data for a course’s enrollments. This endpoint will fetch all enrollments for the desired course.

Response Codes

  • 200 OK
  • 403 Forbidden

Example Response

{
  "subscriptions": [
    {
      "url": "https://pp-beta.insops.net/push",
      "channel": "/PP_APP_ID/private/instructure/domains/1/course_templates/2/enrollments/**",
      "token": "A JWT-ENCODED STRING"
    }
  ]
}