The Elevate REST API uses JWT Bearer tokens for authentication
- Get a list of available users
Elevate Authentication & Users API (1.5)
Elevate API uses Bearer authentication (also called token authentication) - this is an HTTP authentication scheme that uses security tokens called bearer tokens The bearer tokens used by Elevate are the industry standard JSON Web Tokens (JWT)
The client can obtain the token from this endpoint and must send this token in the Authorization header when making requests to other endpoints Tokens will be valid for 15 minutes before a new token must be obtained
Results to return per page
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Comma-delimited list of the field(s) to return if only a subset is required
Filter by contract owner name
- https://rest.elevatebilling.com/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/users?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&username=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&email=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&firstName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&lastName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&contractOwner=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&enabled=true+%2C+false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'[ { "id": 1, "username": "string", "firstName": "string", "lastName": "string", "email": "annon@annon.com", "telephoneNumber": "string", "mobileNumber": "string", "contractOwnerId": 1, "enabled": true, "userRoles": [ … ] } ]
- https://rest.elevatebilling.com/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/users?username=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&email=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&firstName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&lastName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&contractOwner=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&enabled=true+%2C+false' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'request
Email address
Contract Owner identifier (Optional Contract Owner to associate the user to. If they are associated to a Contract Owner then they will only be able to see and manage that Contract Owner's data)
- https://rest.elevatebilling.com/v1/users
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/users \
-H 'Content-Type: application/json' \
-d '{
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "annon@annon.com",
"telephoneNumber": "string",
"mobileNumber": "string",
"contractOwnerId": 1,
"enabled": true,
"userRoles": [
1
]
}'{ "id": 1, "username": "string", "firstName": "string", "lastName": "string", "email": "annon@annon.com", "telephoneNumber": "string", "mobileNumber": "string", "contractOwnerId": 1, "enabled": true, "userRoles": [ 1 ] }
- https://rest.elevatebilling.com/v1/users/{user_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/users/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": 1, "username": "string", "firstName": "string", "lastName": "string", "email": "annon@annon.com", "telephoneNumber": "string", "mobileNumber": "string", "contractOwnerId": 1, "enabled": true, "userRoles": [ 1 ] }
A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v1/users/{user_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/users/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/firstName",
"value": "Frank"
},
{
"op": "replace",
"path": "/lastName",
"value": "Simpson"
}
]'{ "id": 1, "username": "string", "firstName": "string", "lastName": "string", "email": "annon@annon.com", "telephoneNumber": "string", "mobileNumber": "string", "contractOwnerId": 1, "enabled": true, "userRoles": [ 1 ] }