For the complete documentation index, see llms.txt. This page is also available as Markdown.

Register a User

Prerequisite reading

Authentication

Users & Groups

User resource

A User is any individual such as a student, an educator or an admin, that can access your portal. We have a few User-adjacent resources defined in the API which are used in specific contexts.

Registering a single user

To create a single User account you can send a POST to /v3/user-registrations.

Register a student into the default Students user group

Unless a userGroups relationship is specified, all users are registered into the default Students User Group.

curl --location --request POST 'https://api.synap.ac/v3/user-registrations' \
--header 'Authorization: Bearer <PAT>' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
    "data": {
        "type": "UserRegistration",
        "attributes": {
            "name": "First Last",
            "emailAddress": "f.last@domain.com",
            "password": "PasswordABC123!"
        },
        "relationships": {}
    }
}'

Register an educator into an Educator User Group

Find an Educator User Group ID on platform. This can be either the default Educators or a custom Educator User Group. Add it as a relationship to the request.

:::warning[] Although the userGroups relationship is an array field, right now we only support a single value. Registering into multiple groups is currently prohibited due to the potential of request timeouts.

When a user is added to a group they are immediately assigned all active content, such as Assignments, Collections and Exams. This process can take some time especially if the User Group has lots of assigned content. We plan to make some improvements in this area to enable multiple groups on registration in the near future. Until then, please reference the User Group API to add a user into another group after registration. :::

Register a student into a specific Sub Portal

Find the Sub Portal ID on platform. Add it as a relationship to the request.

Specify time zone, locale and disable welcome email

Try one of the optional attributes, such as disabling the Welcome Email from being sent, specifying the user's time zone and locale.

Add Custom Attributes

Custom Attributes allow your organisation to define properties not present out-of-the-box.

Registering multiple users

We are currently optimising our bulk import endpoint and hope to have this ready by Q3 2025. Until then you can safely make multiple calls to the above endpoint to register more than one user.

Last updated

Was this helpful?