Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Assign Users to Programs with REST API

Create a REST API POST request that uses the assignEnablementPrograms invocable action for assigning Enablement programs

User Permissions Needed
To assign or unassign programs:Design and Deliver Enablement Programs OR Design and Deliver Enablement Lite Programs
  1. In a REST API POST request, use the assignEnablementProgram invocable action.

  2. In the request, include the assigneeId, programId, notificationUserId, and startDate parameters.

The assignEnablementProgram invocable action counts against your org’s Bulk API 2.0 limits. To help accommodate these limits, this example shows a bulkified request.

See Also