AI Sync

Courses

Assignable Companies

GEThttps://app.rizzdial.com/api/knowledge-hub/courses/{id}/assignable-companies
Assignable Companies
curl --request GET \
  --url https://app.rizzdial.com/api/knowledge-hub/courses/<id>/assignable-companies \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "records": [
      {
        "id": "MTI=",
        "name": "Acme",
        "email": "ops@acme.com",
        "is_assigned": false,
        "added_by_name": null
      }
    ],
    "pagination": {
      "to": 1,
      "from": 1,
      "total": 1,
      "per_page": 15,
      "last_page": 1,
      "current_page": 1
    }
  },
  "success": true
}

Assignable Companies#

Paginated companies or users that can receive this course, with is_assigned. Admin accounts see agency companies; others see users in the same company. Requires edit-knowledge-hub.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

idstringpathrequired

Base64 id from the matching list or builder. A raw numeric id is also accepted.

searchstringquery

Match name or email

per_pageintegerquery

Default 15. Maximum 100

pageintegerquery

Page number

curl --request GET \
  --url 'https://app.rizzdial.com/api/knowledge-hub/courses/MQ==/assignable-companies?per_page=15' \
  --header 'Authorization: Bearer {{bearer_token}}'
data.recordsarray

Base64 id, name, email, added_by_name, is_assigned

data.paginationobject

total, current_page, per_page, last_page, from, to