---
schema_version: "1"
id: 88e657475d4095159a81d74e6010ecaeac006e8a08f6b7bff3c2c9c4de98a343
title: Assign Users to Programs with REST API
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/sales-cloud/enablement/guides/enablement-assign-automate-rest.md
canonical_url: https://developer.salesforce.com/docs/sales/enablement/guide/enablement-assign-automate-rest.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bf55de9aef54d6ad109dfc0a99aa2d221a3c038dfc88c7728c760e53b2ed760e
products:
  - Sales Programs and Partner Tracks with Enablement
  - Sales Cloud
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.api_action.meta/api_action/actions_obj_assign_enablement_program.htm) invocable action.

```
 /services/data/v58.0/actions/standard/assignEnablementProgram
```

2. In the request, include the `assigneeId`, `programId`, `notificationUserId`, and `startDate` parameters.

```json
{
  "inputs": [
    {
      "assigneeId": "005xx12345",
      "programId": "0Qoxx123456",
      "notificationUserId": "005xx67890",
      "startDate": "2023-03-24"
    },
    {
      "assigneeId": "005xx12346",
      "programId": "0Qoxx123456",
      "notificationUserId": "005xx67890",
      "startDate": "2023-03-24"
    },
    {
      "assigneeId": "005xx12347",
      "programId": "0Qoxx123456",
      "notificationUserId": "005xx67890",
      "startDate": "2023-03-24"
    }
  ]
}
```

The `assignEnablementProgram` invocable action counts against your org’s [Bulk API 2.0 limits](https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_bulkapi.htm). To help accommodate these limits, this example shows a bulkified request.

**See Also**

- [_Salesforce Help_: Considerations and Limitations for Enrolling Users in Enablement Programs](https://help.salesforce.com/s/articleView?id=sales.enablement_assignments_guidelines.htm&type=5)
