Skip to main content

Create a user

POST 

/users

Creates a Copilot API user.

Request

Body

required
    email stringdeprecated

    This is a deprecated feature, you should not have use-cases where you create Nabla email-based accounts for your API users. Please reach out if anything.

    roles role[]deprecated

    Possible values: [ADMINISTRATOR, PRACTITIONER]

    This is a deprecated feature, you should not have use-cases where you create users with roles other than practitioner from the API. Please reach out if anything.

    external_id stringnullable

    Possible values: <= 256 characters

    A unique identifier for the user from another system which is given to Nabla.

    metadata objectnullable

    You can use this parameter to attach key-value data to the object. You can specify up to 50 keys, with key names up to 40 characters long, all values must be of type string and up to 500 characters long.

    property name* string

Responses

User.

Schema
    id uuidrequired

    A unique identifier.

    activated booleanrequired

    Always true unless you explicitly deactivate the user.

    external_id stringnullable

    Possible values: <= 256 characters

    A unique identifier for the user from another system which is given to Nabla.

    metadata objectnullable

    You can use this parameter to attach key-value data to the object. You can specify up to 50 keys, with key names up to 40 characters long, all values must be of type string and up to 500 characters long.

    property name* string
    created_at date-timerequired

    The creation date of this object, in ISO 8601 format.

    email emailnullabledeprecated

    This is a deprecated feature, you should not have use-cases where you create Nabla email-based accounts for your API users. Please reach out if anything.

    roles role[]deprecated

    Possible values: [ADMINISTRATOR, PRACTITIONER]

    This is a deprecated feature, you should not have use-cases where you create users with roles other than practitioner from the API. Please reach out if anything.

Loading...