Member Management API

User API

Active911 attempts to make interacting with your account as easy as possible though our web portal. However, we understand that there are circumstances where clients may prefer to perform certain operations using API calls, rather than through the web portal.

The User API is a public API that allows an authenticated user to perform a select number of operations. These endpoints all require an access token passed in the authorization header, which is used to verify the user’s identity and permission levels.

For technical documentation on how to generate an access token, see: https://active911.atlassian.net/wiki/spaces/ACTIVE911/pages/2001174540

API Endpoints

Unless otherwise stated, all endpoints are rate limited at 25 requests per minute. Each endpoint requires an access token, named a911Access, to be passed in the Authorization header. For convenience, an optional refresh token can be passed in as a cookie, named a911Auth, and if your access token is expired it will be refreshed and returned to you.

To utilize these endpoints, the access token that is provided must correspond to a member with the necessary permissions in the agency in which the action is being performed.


Retrieve a list of your Agencies

Most Requests require knowing the agency and member ID being modified. This can be found by retrieving the agency data as outlined in this call. This call will return a list of all agencies you have view_agency permission for, along with details of each agency member.

GET

/v2/agencies

agency-service.active911.com/v2/agencies

Headers

Value Sample
Details

Authorization

a911Access {Access-Token}

Required for all requests

Cookie optional

a911Auth={Refresh-Token}

To auto-refresh access token

Response Data

Attribute
Description
Type

success

Whether the request succeeded

boolean

result

An Array of agencies you are a member of

JSON

message

Error message if the request failed

string

code

HTTP response code

number

token

The potentially refreshed access token

string

Sample Request

CURL Request
curl --location 'https://agency-service.active911.com/v2/agencies' \ --header 'Authorization: a911Access eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTgyNTc4ODg3ODksInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNjk4MjU2MDg4fQ.iX0hiXcQX-XFt3sPTDjeZbG_zYED3LrB4nhU9P4O5dWXRi_4E364QAv-yAdyBmev_IV3d0m7A5IXP9WKj6hT9mi4U9xkPxrBcspcbWLpb2PP_4ME3mgvUbT9VSG5sop0t49JBgZVUSqGiU4MRjqJGOAkvY-ZVYcx6uzFpB6lBnNUcjotA-YhsR8wQixGoI-F66t6hlADCPrdhw04Y2o-xwctk7fMmrj6bj2KjOeDx46amUO0URE5qMNZtAoYJ9Kwc9R6lp9ecimDsV2PdlGlf4851bXBUEgIcentuBJedmpDdgPXOrdvgDnUegVyUyyqQBs8CXNpIINNEkQG5jcyUw' \ --header 'Cookie: a911Auth=eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE3Mjk4MTI5NTcyMDUsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInN1IjowLCJpYXQiOjE2OTgyNTYwMDV9.B7TXCdNi_ZvUX7JwQPLqjYfCtB_ibgdf0EcC0bgXr7LCSS1_GE13u1aXDpf0ED7wV6eW8fxNUxok7dQZ7wC0FinGWScseJ1SckHmX3VHUccpE2GHzlIwdG3mLnhr6KPViOfJ9w5cvkFaHMrpXOw8WFNv6CxiahiylE3RIBNNdkrLkKYUCwYVpznITferhCQAq80Tz8ormQd3l8Aja49DK3O_okKN4zIDUNqC868xMZUqybiDQBud-ydvBTXKyszbzEW75TTe3G-082GUv32Wj7xdbmKXd7gC0rsPQuw6B38AxTmVTabw-Xnp5wHDTSPIXtSDw-dkXCAwv__YIQpFHw'
Sample Response
{ "success": true, "result": [ { "name": "Agency 1", "id": "3e597c4a-877f-4c62-9f62-21e8635907e2" }, { "name": "Agency 2", "id": "4s36dc4a-a2mk-4d3g-6a4g-3d5h4k8d5ad4" } ], "message": "", "code": "HTTP_API_SUCCESS", "token": "eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTg3NjkwNzg3MzIsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwic3UiOjAsImlhdCI6MTY5ODc2NzI3OH0.peBOkgiclZt1XjcRWGHCg-28oRsRtNTU-5Y7dhdN68Lhs0wxOhDz89zP1t_o3W34PRO4Q5LnBj1rq_u6-qaYFykUGItasb3DONqBUo2E2z1QM9hOVowuyfkyig9UfTEU_U28vGqlBTCwSrRtDTrzd8i1j79iwV3HU3VQZuhuKrTJWmVWSIpWE1zrCiIDvB_9_owwi0r3hxQa13usdHCiJitMlEz4EzTWXqOG5j1mVSX47rsCl9PUMEnJZx0QvztszvpkRBdZdAq01LkIjFpxtLkeGT4kJPhKIL33k4FopW7P9QnPy8o22FUfZSI1xhwKEdnGx-FVtLR8TXOkEpy8dA" }

Create a Member

Creates a new member in your agency and sends out an invitation to the member email. requires edit_agency permission.

POST

/v2/agency/:agencyId/member/create

agency-service.active911.com/v2/agency/:agencyId/member/create

Headers

Header
Value Sample
Details

Authorization

a911Access {Access-Token}

Required for all requests

Cookie optional

a911Auth={Refresh-Token}

To auto-refresh access token

POST Body

Attribute
Description
Type
Attribute
Description
Type

name

The Member’s name

string

email

The Member’s email

string

phone optional

The Member’s phone number

string

permissions

The permissions the Member should have
Note: see expand below for possible values

string []

Member Permission Options

These represent the different permissions that can be assigned to any user in our system. A single user can have zero or more of these permissions per agency.

Please note: login is always included in the permissions a member will have, and does not need to be passed in with the permission list. This permission lets a member sign in to the website.

Permission

Description

Permission

Description

create_alerts

Allow user to create alarms and send them out to all members

edit_agency

Allow user to edit agency settings

edit_assignments

Allow user to edit assignments

edit_devices

Allow user to add, edit, and delete devices from the Devices tab

edit_events

Allow user to edit schedule

edit_family

Allow user to edit family settings/data

edit_locations

Allow user to add, edit, and delete location items from the Locations tab. This includes hydrants, staging areas, stations, etc.

edit_pagegroups

Allow user to create and manage pagegroups

edit_permissions

Allow user to add and delete other users and edit their permissions. Warning: This permission allows a user to grant themselves complete control, and also to pass that control to whomever they choose.

edit_staffing

Allow user to edit staffing

override_assignments

Allow user to override other’s assignments

view_agency

Allow user to view agency statistics and alert email address

view_alerts

Allow user to view past and current alerts/alarms. This includes response details and personnel.

view_assignments

Allow user to view assignments

view_devices

Allow user to view devices in the Devices tab, including phone number and device ID. Warning: Access to device IDs will allow user to connect cell phones to incoming alarms.

view_events

Allow user to view schedule

view_family

Allow user to view family setting/data

Response Data

Attribute
Description
Type

success

Whether the request succeeded

boolean

result

The new Member data as a JSON array

JSON

message

Error message if the request failed

string

code

HTTP response code

number

token

The potentially refreshed access token

string

Sample Request

CURL Request
curl --location 'https://agency-service.active911.com/v2/agency/3e597c4a-877f-4c62-9f62-21e8635907e2/member/create \ --header 'Authorization: a911Access eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTgyNTc4ODg3ODksInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNjk4MjU2MDg4fQ.iX0hiXcQX-XFt3sPTDjeZbG_zYED3LrB4nhU9P4O5dWXRi_4E364QAv-yAdyBmev_IV3d0m7A5IXP9WKj6hT9mi4U9xkPxrBcspcbWLpb2PP_4ME3mgvUbT9VSG5sop0t49JBgZVUSqGiU4MRjqJGOAkvY-ZVYcx6uzFpB6lBnNUcjotA-YhsR8wQixGoI-F66t6hlADCPrdhw04Y2o-xwctk7fMmrj6bj2KjOeDx46amUO0URE5qMNZtAoYJ9Kwc9R6lp9ecimDsV2PdlGlf4851bXBUEgIcentuBJedmpDdgPXOrdvgDnUegVyUyyqQBs8CXNpIINNEkQG5jcyUw' \ --header 'Cookie: a911Auth=eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE3Mjk4MTI5NTcyMDUsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInN1IjowLCJpYXQiOjE2OTgyNTYwMDV9.B7TXCdNi_ZvUX7JwQPLqjYfCtB_ibgdf0EcC0bgXr7LCSS1_GE13u1aXDpf0ED7wV6eW8fxNUxok7dQZ7wC0FinGWScseJ1SckHmX3VHUccpE2GHzlIwdG3mLnhr6KPViOfJ9w5cvkFaHMrpXOw8WFNv6CxiahiylE3RIBNNdkrLkKYUCwYVpznITferhCQAq80Tz8ormQd3l8Aja49DK3O_okKN4zIDUNqC868xMZUqybiDQBud-ydvBTXKyszbzEW75TTe3G-082GUv32Wj7xdbmKXd7gC0rsPQuw6B38AxTmVTabw-Xnp5wHDTSPIXtSDw-dkXCAwv__YIQpFHw' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "newUser", "email": "newUser10@example.com", "phone": "1234567890", "permissions": [ "edit_billing", "edit_agency" ] }'
Sample Response
"success": true, "result": { "id": "dc16cff6-c90a-49ad-9afe-c555ef996232", "userId": null, "name": "newUser", "email": "newuser20@example.com", "phone": "1234567890", "permissions": [ "login", "view_agency", "edit_agency", ... ], "created": 1698268937041, "deactivated": false, "invitations": [ { "id": "37475c69-ada8-41e9-ab97-2a7e6343b492", "created": 1698268937148, "expiration": 1698528137148, "status": "open", "inviteeEmail": "newuser10@example.com" } ], "isAdmin": false, "hasFullPermissions": false }, "message": "", "code": "HTTP_API_SUCCESS", "token": "eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTgyNzA3MzY4MjUsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNjk4MjY4OTM2fQ.XTpFNmr8AisY8PTUEi6BgBC9RkXji2Vd9uwXYagCuU12a44MSup-3Eo3x3a_Q2y_2wuyllClhtpRJVagVXOzta7Aa4UEBXfTtkLZ57z9tJcA9NMfRLFa1LFIP6vP1aEg5nciVZL7aGx-MtHCWkCxcTfiIBk_gfRwp1Dm5M2BPam2ta7BO_jEjAKK3w571TrbZmARYeJlGWnfbLeYFJ5yFQ4Xq7jNC4Elsu7iObSKNXrufJrZRzld9jg2uVw8jTCtOXzRZDLTd8CNNVfNGoKR5LXKTdal1oKOqZyET-5F8vvcLFR6KCJatyzyOKmdNPWllBTu12rMhzSQCazYtGyPIg" }

Bulk Create Members

Creates new members in your agency and sends out invitations to the members' email. Requires edit_agency permission.

POST

/v2/agency/:agencyId/member/bulkCreate

agency-service.active911.com/v2/agency/:agencyId/member/bulkCreate

Headers

Header
Value Sample
Details

Authorization

a911Access {Access-Token}

Required for all requests

Cookie optional

a911Auth={Refresh-Token}

To auto-refresh access token

POST Body

Attribute
Description
Type
Attribute
Description
Type

members

The list of Members to create

JSON array of objects matching the following format:

{ "name": string, "email": string, "phone": string, // optional "permissions": string[] }

Response Body

Attribute
Description
Type

success

Whether the request succeeded

boolean

result

The new Member data as a JSON array

JSON

message

Error message if the request failed

string

code

HTTP response code

number

token

The potentially refreshed access token

string

Sample Request

CURL Request
curl --location 'https://agency-service.active911.com/v2/agency/3e597c4a-877f-4c62-9f62-21e8635907e2/member/bulkCreate' \ --header 'Authorization: a911Access eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTgyNTc4ODg3ODksInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNjk4MjU2MDg4fQ.iX0hiXcQX-XFt3sPTDjeZbG_zYED3LrB4nhU9P4O5dWXRi_4E364QAv-yAdyBmev_IV3d0m7A5IXP9WKj6hT9mi4U9xkPxrBcspcbWLpb2PP_4ME3mgvUbT9VSG5sop0t49JBgZVUSqGiU4MRjqJGOAkvY-ZVYcx6uzFpB6lBnNUcjotA-YhsR8wQixGoI-F66t6hlADCPrdhw04Y2o-xwctk7fMmrj6bj2KjOeDx46amUO0URE5qMNZtAoYJ9Kwc9R6lp9ecimDsV2PdlGlf4851bXBUEgIcentuBJedmpDdgPXOrdvgDnUegVyUyyqQBs8CXNpIINNEkQG5jcyUw' \ --header 'Cookie: a911Auth=eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE3Mjk4MTI5NTcyMDUsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInN1IjowLCJpYXQiOjE2OTgyNTYwMDV9.B7TXCdNi_ZvUX7JwQPLqjYfCtB_ibgdf0EcC0bgXr7LCSS1_GE13u1aXDpf0ED7wV6eW8fxNUxok7dQZ7wC0FinGWScseJ1SckHmX3VHUccpE2GHzlIwdG3mLnhr6KPViOfJ9w5cvkFaHMrpXOw8WFNv6CxiahiylE3RIBNNdkrLkKYUCwYVpznITferhCQAq80Tz8ormQd3l8Aja49DK3O_okKN4zIDUNqC868xMZUqybiDQBud-ydvBTXKyszbzEW75TTe3G-082GUv32Wj7xdbmKXd7gC0rsPQuw6B38AxTmVTabw-Xnp5wHDTSPIXtSDw-dkXCAwv__YIQpFHw' \ --header 'Content-Type: application/json' \ --data-raw '{ "members": [ { "name": "newUser", "email": "newUser1@example.com", "phone": "1234567890", "permissions": [ "edit_permissions" ] }, { "name": "newUser", "email": "newUser2@example.com", "phone": "1234567890", "permissions": [ "edit_billing", "edit_agency" ] } ] }'
Sample Response
{ "success": true, "result": [ { "id": "b456ea66-0fa3-4b55-9670-c652e7c394aa", "userId": null, "name": "newUser", "email": "newuser1@example.com", "phone": "1234567890", "permissions": [ "edit_permissions", "login", "view_agency", "edit_agency", "edit_billing", "view_alerts", "create_alerts", "edit_chat", "edit_map_markers", "edit_locations", "view_assignments", "edit_assignments", "override_assignments", "view_devices", "edit_devices", "edit_pagegroups", "view_family", "edit_family", "view_reporting", "edit_staffing", "edit_activecomms" ], "created": 1698269203192, "deactivated": false, "invitations": [ { "id": "d15f9913-69ac-4524-87d2-db9661ba03b9", "created": 1698269203334, "expiration": 1698528403334, "status": "open", "inviteeEmail": "newuser121@example.com" } ], "isAdmin": true, "hasFullPermissions": true }, { "id": "e71f9f04-09bd-4793-b5a0-47450e6da5c3", "userId": null, "name": "newUser", "email": "newuser2@example.com", "phone": "1234567890", "permissions": [ "login", "view_agency", "edit_agency", "edit_billing", ], "created": 1698269203192, "deactivated": false, "invitations": [ { "id": "e85c98e5-5200-47b8-bc8b-7b8d700efe23", "created": 1698269203334, "expiration": 1698528403334, "status": "open", "inviteeEmail": "newuser22@example.com" } ], "isAdmin": false, "hasFullPermissions": false } ], "message": "", "code": "HTTP_API_SUCCESS", "token": "eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTgyNzEwMDMxMTgsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNjk4MjY5MjAzfQ.pOUH_POVayBBNBcA1ki44_RJ66d4xTN5X6v6Zqjx8jN9ZDSKp5fqj1opAnT9YQ1QND45cEAExtROKKLzYHy5fZJsLgaTZptDRCAWtPG5tSPJ4Uz9DnUHoKIycXcOBKOrY_TQkkPKiUaZK7NAdtV_7sEY_DQmUcr88F6GjJ4-Czgy6Kc2CrMJXaLBt3gQs3myx8m7a2PLIpNC_WZkLP3HqdIPJKYN4tDlg2q1wvg-t4QLxmUsktTDxlT-TAp989Sy7oCnfYoMDGkrwQ6rRH41wBhowas0lZUhzLVoNlJTTHj0ZaxnPZMJrLBwnmtGg8RzvAVPHSdrpq8D1SabIopqaQ" }

Delete a Member

Removes a member from your agency. Requires edit_agency permission.

DELETE

/v2/agency/:agencyid/member/delete/:memberId

agency-service.active911.com/v2/agency/:agencyid/member/delete/:memberId

Headers

Header
Value Sample
Details

Authorization

a911Access {Access-Token}

Required for all requests

Cookie optional

a911Auth={Refresh-Token}

To auto-refresh access token

Response Body

Attribute
Description
Type

success

Whether the request succeeded

boolean

result

The new Member data as a JSON array

JSON

message

Error message if the request failed

string

code

HTTP response code

number

token

The potentially refreshed access token

string

Sample Request

CURL Request
curl --location --request DELETE 'https://agency-service.active911.com/v2/agency/3e597c4a-877f-4c62-9f62-21e8635907e2/member/delete/b456ea66-0fa3-4b55-9670-c652e7c394aa' \ --header 'Authorization: a911Access eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTgyNTc4ODg3ODksInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNjk4MjU2MDg4fQ.iX0hiXcQX-XFt3sPTDjeZbG_zYED3LrB4nhU9P4O5dWXRi_4E364QAv-yAdyBmev_IV3d0m7A5IXP9WKj6hT9mi4U9xkPxrBcspcbWLpb2PP_4ME3mgvUbT9VSG5sop0t49JBgZVUSqGiU4MRjqJGOAkvY-ZVYcx6uzFpB6lBnNUcjotA-YhsR8wQixGoI-F66t6hlADCPrdhw04Y2o-xwctk7fMmrj6bj2KjOeDx46amUO0URE5qMNZtAoYJ9Kwc9R6lp9ecimDsV2PdlGlf4851bXBUEgIcentuBJedmpDdgPXOrdvgDnUegVyUyyqQBs8CXNpIINNEkQG5jcyUw' \ --header 'Cookie: a911Auth=eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE3Mjk4MTI5NTcyMDUsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInN1IjowLCJpYXQiOjE2OTgyNTYwMDV9.B7TXCdNi_ZvUX7JwQPLqjYfCtB_ibgdf0EcC0bgXr7LCSS1_GE13u1aXDpf0ED7wV6eW8fxNUxok7dQZ7wC0FinGWScseJ1SckHmX3VHUccpE2GHzlIwdG3mLnhr6KPViOfJ9w5cvkFaHMrpXOw8WFNv6CxiahiylE3RIBNNdkrLkKYUCwYVpznITferhCQAq80Tz8ormQd3l8Aja49DK3O_okKN4zIDUNqC868xMZUqybiDQBud-ydvBTXKyszbzEW75TTe3G-082GUv32Wj7xdbmKXd7gC0rsPQuw6B38AxTmVTabw-Xnp5wHDTSPIXtSDw-dkXCAwv__YIQpFHw' \ --header 'Content-Type: application/json' \
Sample Response
{ "success": true, "result": { "id": "3e597c4a-877f-4c62-9f62-21e8635907e2", "name": "Your Agency", "email": "support@youragency.com", "phone": "123456789", "streetAddress": "123 Main St", "city": "Corvallis", "region": "US-OR", "zip": "97321", "country": "US", "members": [ { "id": "a8930f83-04a2-41fb-b087-97dbd230eb95", "userId": "f416541b-a9eb-4907-aa17-faa4001beca6", "name": "Admin", "email": "admin@youragency.com", "phone": null, "permissions": [ "login", "edit_permissions", "view_agency", "edit_agency", "edit_billing", "view_alerts", "create_alerts", "edit_chat", "edit_map_markers", "edit_locations", "view_assignments", "edit_assignments", "override_assignments", "view_devices", "edit_devices", "edit_pagegroups", "view_family", "edit_family", "view_reporting", "edit_staffing", "edit_activecomms" ], "created": 1698256028000, "deactivated": false, "invitations": [], "isAdmin": true, "hasFullPermissions": true } ] }, "message": "", "code": "HTTP_API_SUCCESS", "token": "eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2OTgyNzEwNTgzMDUsInN1YiI6ImY0MTY1NDFiLWE5ZWItNDkwNy1hYTE3LWZhYTQwMDFiZWNhNiIsInNjb3BlIjoiYWNjZXNzIiwiaWF0IjoxNjk4MjY5MjU4fQ.Yf_tzWlwVOKNcxo44OtDotRg5r1GeuCDVcqLpysXbdYcQ9hphBajxiDTNJOTcy4TkLR6UPgjZJPqVTLN5x_uDiIcRckditvRBZ4kF6EZxoZu-mh0OXQi1BFAhI4kO22u1pDKL0qxOQB8bfssR3_9w1HDz5lIon7n-HZ7gUDXIPUH16F6rlY2gNb2X8NSCY2G-L1VsM3-zWVCq73u138UQAqLT9dzIxehdwFfkR_VoUo1Isfuyp_deYcipT9sbACUOXXREN89ZlAlNdSwD4hwRyKTyhoJjTVI1tfc6AtOjFhCNzIpBziAmrtss5VpT-DmkPXTk7Cd2lwIBCpgacW_aQ" }