Skip to main content
POST
/
api
/
2.0
/
staff_groups
Create Staff Group
curl --request POST \
  --url https://sandbox.elationemr.com/api/2.0/staff_groups/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "practice": 123,
  "users": [
    123
  ],
  "is_elation_group": true
}
'
{
  "name": "<string>",
  "practice": 123,
  "users": [
    123
  ],
  "created_date": "2023-11-07T05:31:56Z",
  "deleted_date": "2023-11-07T05:31:56Z",
  "id": 123,
  "is_elation_group": true
}

Documentation Index

Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string
required

The name of the staff group.

Maximum string length: 50
practice
integer<int64>
required

The id of the practice that the staff group belongs to.

users
integer[]
required

A list of user ids inside the group.

is_elation_group
boolean

Whether the staff group is an Elation group.

Response

201 - application/json
name
string
required

The name of the staff group.

Maximum string length: 50
practice
integer<int64>
required

The id of the practice that the staff group belongs to.

users
integer[]
required

A list of user ids inside the group.

created_date
string<date-time> | null
read-only
deleted_date
string<date-time> | null
read-only
id
integer
read-only
is_elation_group
boolean

Whether the staff group is an Elation group.