Skip to main content
Service Users were previously called Bot Users.The Bot User API endpoint is still available but will be deprecated in the future. If you need the Bot Users API reference, you can find it here.

Create Service User

Create a new Service User.

Request

POST /service_users

Example request

Parameters

NameTypeDescription
namestringHuman-readable name used to identify the Service User.
activebooleanWhether or not the Service User is active.

Response

Returns a 201 response on success.

Example response

Fields

NameTypeDescription
idstringUnique API key resource identifier.
uristringURI to the API resource of this Service User
namestringHuman-readable name used to identify the Service User.
activebooleanWhether or not the Service User is active.
created_atstringTimestamp when the API key was created, in RFC 3339 format.

Delete Service User

Delete a Service User by ID.

Request

DELETE /service_users/\{id\}

Example request

Response

Returns a 204 response with no body on success.

Get Service User

Get the details of a Service User by ID.

Request

GET /service_users/\{id\}

Example request

Response

Returns a 200 response on success.

Example response

Fields

NameTypeDescription
idstringUnique API key resource identifier.
uristringURI to the API resource of this Service User.
namestringHuman-readable name used to identify the Service User.
activebooleanWhether or not the Service User is active.
created_atstringTimestamp when the API key was created, in RFC 3339 format.

List Service Users

List all Service Users in this account.

Request

GET /service_users

Example request

Response

Returns a 200 response on success.

Example response

Fields

NameTypeDescription
service_usersServiceUserList of all Service Users on this account.
uristringURI of the Service Users list API resource.
next_page_uristringURI of the next page, or null if there is no next page.

ServiceUser fields

NameTypeDescription
idstringUnique API key resource identifier.
uristringURI to the API resource of this Service User.
namestringHuman-readable name used to identify the Service User.
activebooleanWhether or not the Service User is active.
created_atstringTimestamp when the API key was created, in RFC 3339 format.

Update Service User

Update attributes of a Service User by ID.

Request

PATCH /service_users/\{id\}

Example request

Parameters

NameTypeDescription
idstring
namestringHuman-readable name used to identify the Service User.
activebooleanWhether or not the Service User is active.

Response

Returns a 200 response and a copy of the updated entity on success.

Example response

Fields

NameTypeDescription
idstringUnique API key resource identifier.
uristringURI to the API resource of this Service User.
namestringHuman-readable name used to identify the Service User.
activebooleanWhether or not the Service User is active.
created_atstringTimestamp when the API key was created, in RFC 3339 format.