# Authentication
Source: https://docs.perscom.io/api-reference/authentication
Learn how to authenticate requests to the PERSCOM API.
All API requests require authentication using an API key passed as a Bearer token.
## API Keys
API keys provide access to your organization's data through the PERSCOM API. Each key can be configured with specific scopes to limit its permissions.
### Create An API Key
1. In the sidebar, select **Integrations** > **API Keys**.
2. Select **New API key**.
3. Enter a **Name** to identify the key.
4. Configure **Scopes** to limit what the key can access, or select **All scopes** for full access.
5. Select **Create**.
After creating the key, copy and store it securely. The full key is only displayed once.
> **Important:** Treat API keys like passwords. Never share them publicly or commit them to version control.
## Making Authenticated Requests
Include your API key in the `Authorization` header of every request:
```
Authorization: Bearer YOUR_API_KEY
```
### Example Request
```bash theme={"system"}
curl -X GET "https://api.perscom.io/v2/users" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
```
## Authentication Errors
If authentication fails, the API returns a `401 Unauthorized` response:
```json theme={"system"}
{
"error": {
"message": "You are not authenticated. Please provide a valid API key that contains your PERSCOM ID to continue.",
"type": "AuthenticationException",
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"trace_id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
}
}
```
Common causes:
* Missing or malformed `Authorization` header
* Invalid or expired API key
* Revoked API key
## Key Management
### View Keys
View all API keys in **Integrations** > **API Keys**. Each key displays:
* Name and creation date
* Scopes assigned to the key
* Last used timestamp
### Revoke Keys
To revoke an API key:
1. Navigate to **Integrations** > **API Keys**.
2. Find the key and select **Delete**.
Revoking a key immediately invalidates it. Any requests using the revoked key will fail with a `401 Unauthorized` error.
## Best Practices
* **Use descriptive names** for keys to identify their purpose
* **Limit scopes** to only what the integration needs
* **Rotate keys regularly** for security-sensitive integrations
* **Use environment variables** to store keys in your applications
* **Never expose keys** in client-side code or public repositories
# Authorization
Source: https://docs.perscom.io/api-reference/authorization
Learn how to authorize requests to the PERSCOM API.
The PERSCOM API uses scopes to control what actions an API key can perform. Scopes let you grant the minimum permissions necessary for each integration.
## How Scopes Work
Each API key has a set of assigned scopes that determine which endpoints and operations it can access. When you make a request, the API checks whether your key has the required scope for that endpoint.
If the key lacks the required scope, the API returns a `403 Forbidden` response.
## Scope Format
Scopes follow the format `action:resource`:
* **action** — The operation type: `view`, `create`, `update`, or `delete`
* **resource** — The resource being accessed, such as `user`, `rank`, or `assignmentrecord`
For example:
* `view:user` — Read user data
* `create:rank` — Create new ranks
* `update:assignmentrecord` — Modify assignment records
* `delete:award` — Remove awards
## Configuring Scopes
When creating an API key, you can either grant all scopes or select specific ones:
1. Navigate to **Integrations** > **API Keys**.
2. Select **New API key**.
3. Choose one of the following:
* **All scopes** — Grants full access to all resources and operations
* **Specific scopes** — Select only the scopes your integration needs
> **Important:** Follow the principle of least privilege. Only grant the scopes your integration actually requires.
## Available Scopes
| Scope | Description |
| ------------- | ----------------------- |
| `view:user` | View user profiles |
| `create:user` | Create new users |
| `update:user` | Update user information |
| `delete:user` | Delete users |
| Scope | Description |
| ------------------ | ------------------ |
| `view:group` | View groups |
| `create:group` | Create groups |
| `update:group` | Update groups |
| `delete:group` | Delete groups |
| `view:unit` | View units |
| `create:unit` | Create units |
| `update:unit` | Update units |
| `delete:unit` | Delete units |
| `view:position` | View positions |
| `create:position` | Create positions |
| `update:position` | Update positions |
| `delete:position` | Delete positions |
| `view:rank` | View ranks |
| `create:rank` | Create ranks |
| `update:rank` | Update ranks |
| `delete:rank` | Delete ranks |
| `view:specialty` | View specialties |
| `create:specialty` | Create specialties |
| `update:specialty` | Update specialties |
| `delete:specialty` | Delete specialties |
| `view:status` | View statuses |
| `create:status` | Create statuses |
| `update:status` | Update statuses |
| `delete:status` | Delete statuses |
| Scope | Description |
| ---------------------------- | ---------------------------- |
| `view:assignmentrecord` | View assignment records |
| `create:assignmentrecord` | Create assignment records |
| `update:assignmentrecord` | Update assignment records |
| `delete:assignmentrecord` | Delete assignment records |
| `view:awardrecord` | View award records |
| `create:awardrecord` | Create award records |
| `update:awardrecord` | Update award records |
| `delete:awardrecord` | Delete award records |
| `view:combatrecord` | View combat records |
| `create:combatrecord` | Create combat records |
| `update:combatrecord` | Update combat records |
| `delete:combatrecord` | Delete combat records |
| `view:qualificationrecord` | View qualification records |
| `create:qualificationrecord` | Create qualification records |
| `update:qualificationrecord` | Update qualification records |
| `delete:qualificationrecord` | Delete qualification records |
| `view:rankrecord` | View rank records |
| `create:rankrecord` | Create rank records |
| `update:rankrecord` | Update rank records |
| `delete:rankrecord` | Delete rank records |
| `view:servicerecord` | View service records |
| `create:servicerecord` | Create service records |
| `update:servicerecord` | Update service records |
| `delete:servicerecord` | Delete service records |
| `view:statusrecord` | View status records |
| `create:statusrecord` | Create status records |
| `update:statusrecord` | Update status records |
| `delete:statusrecord` | Delete status records |
| `view:trainingrecord` | View training records |
| `create:trainingrecord` | Create training records |
| `update:trainingrecord` | Update training records |
| `delete:trainingrecord` | Delete training records |
| Scope | Description |
| ---------------------- | --------------------- |
| `view:award` | View awards |
| `create:award` | Create awards |
| `update:award` | Update awards |
| `delete:award` | Delete awards |
| `view:qualification` | View qualifications |
| `create:qualification` | Create qualifications |
| `update:qualification` | Update qualifications |
| `delete:qualification` | Delete qualifications |
| Scope | Description |
| ------------------- | ----------------------- |
| `view:form` | View forms |
| `create:form` | Create forms |
| `update:form` | Update forms |
| `delete:form` | Delete forms |
| `view:field` | View form fields |
| `create:field` | Create form fields |
| `update:field` | Update form fields |
| `delete:field` | Delete form fields |
| `view:submission` | View form submissions |
| `create:submission` | Create form submissions |
| `update:submission` | Update form submissions |
| `delete:submission` | Delete form submissions |
| Scope | Description |
| ----------------- | ---------------- |
| `view:calendar` | View calendars |
| `create:calendar` | Create calendars |
| `update:calendar` | Update calendars |
| `delete:calendar` | Delete calendars |
| `view:event` | View events |
| `create:event` | Create events |
| `update:event` | Update events |
| `delete:event` | Delete events |
| Scope | Description |
| --------------------- | --------------------- |
| `view:announcement` | View announcements |
| `create:announcement` | Create announcements |
| `update:announcement` | Update announcements |
| `delete:announcement` | Delete announcements |
| `view:newsfeed` | View newsfeed items |
| `create:newsfeed` | Create newsfeed items |
| `update:newsfeed` | Update newsfeed items |
| `delete:newsfeed` | Delete newsfeed items |
| `view:document` | View documents |
| `create:document` | Create documents |
| `update:document` | Update documents |
| `delete:document` | Delete documents |
| Scope | Description |
| ------------- | ------------ |
| `view:task` | View tasks |
| `create:task` | Create tasks |
| `update:task` | Update tasks |
| `delete:task` | Delete tasks |
| Scope | Description |
| ------------------- | ------------------- |
| `view:attachment` | View attachments |
| `create:attachment` | Create attachments |
| `update:attachment` | Update attachments |
| `delete:attachment` | Delete attachments |
| `view:category` | View categories |
| `create:category` | Create categories |
| `update:category` | Update categories |
| `delete:category` | Delete categories |
| `view:comment` | View comments |
| `create:comment` | Create comments |
| `update:comment` | Update comments |
| `delete:comment` | Delete comments |
| `view:competency` | View competencies |
| `create:competency` | Create competencies |
| `update:competency` | Update competencies |
| `delete:competency` | Delete competencies |
| `view:credential` | View credentials |
| `create:credential` | Create credentials |
| `update:credential` | Update credentials |
| `delete:credential` | Delete credentials |
| `view:image` | View images |
| `create:image` | Create images |
| `update:image` | Update images |
| `delete:image` | Delete images |
| `view:issuer` | View issuers |
| `create:issuer` | Create issuers |
| `update:issuer` | Update issuers |
| `delete:issuer` | Delete issuers |
| `view:message` | View messages |
| `create:message` | Create messages |
| `update:message` | Update messages |
| `delete:message` | Delete messages |
| `view:slot` | View slots |
| `create:slot` | Create slots |
| `update:slot` | Update slots |
| `delete:slot` | Delete slots |
| Scope | Description |
| --------------- | ------------------------- |
| `view:settings` | View application settings |
| `clear:cache` | Clear the API cache |
## Authorization Errors
If your API key lacks the required scope, the API returns a `403 Forbidden` response:
```json theme={"system"}
{
"error": {
"message": "The API key provided does not have the correct permissions and/or scopes to perform the requested action.",
"type": "HttpException",
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"trace_id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
}
}
```
To resolve this error:
1. Check which scope the endpoint requires (refer to the endpoint documentation)
2. Navigate to **Integrations** > **API Keys**
3. Create a new API key with the required scope, or use a key that already has it
> **Note:** You cannot modify scopes on an existing API key. Create a new key with the correct scopes instead.
## Best Practices
* **Use specific scopes** — Avoid granting all scopes unless necessary
* **Create separate keys** — Use different API keys for different integrations
* **Review regularly** — Audit your API keys and revoke unused ones
* **Document your keys** — Use descriptive names to track what each key is used for
# Create a batch of announcements
Source: https://docs.perscom.io/api-reference/endpoints/announcements/create-a-batch-of-announcements
post /{version}/announcements/batch
# Create announcement
Source: https://docs.perscom.io/api-reference/endpoints/announcements/create-announcement
post /{version}/announcements
# Delete a batch of announcements
Source: https://docs.perscom.io/api-reference/endpoints/announcements/delete-a-batch-of-announcements
delete /{version}/announcements/batch
# Delete announcement
Source: https://docs.perscom.io/api-reference/endpoints/announcements/delete-announcement
delete /{version}/announcements/{announcement}
# Get a list of announcements
Source: https://docs.perscom.io/api-reference/endpoints/announcements/get-a-list-of-announcements
get /{version}/announcements
# Get announcement
Source: https://docs.perscom.io/api-reference/endpoints/announcements/get-announcement
get /{version}/announcements/{announcement}
# Update a batch of announcements
Source: https://docs.perscom.io/api-reference/endpoints/announcements/update-a-batch-of-announcements
patch /{version}/announcements/batch
# Update announcement
Source: https://docs.perscom.io/api-reference/endpoints/announcements/update-announcement
patch /{version}/announcements/{announcement}
# Create a batch of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/create-a-batch-of-records-assignments
post /{version}/assignment-records/batch
# Create assignment record
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/create-records-assignment
post /{version}/assignment-records
# Delete a batch of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/delete-a-batch-of-records-assignments
delete /{version}/assignment-records/batch
# Delete assignment record
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/delete-records-assignment
delete /{version}/assignment-records/{assignment_record}
# Get a list of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/get-a-list-of-records-assignments
get /{version}/assignment-records
# Get assignment record
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/get-records-assignment
get /{version}/assignment-records/{assignment_record}
# Update a batch of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/update-a-batch-of-records-assignments
patch /{version}/assignment-records/batch
# Update assignment record
Source: https://docs.perscom.io/api-reference/endpoints/assignment-records/update-records-assignment
patch /{version}/assignment-records/{assignment_record}
# Create a batch of attachments
Source: https://docs.perscom.io/api-reference/endpoints/attachments/create-a-batch-of-attachments
post /{version}/attachments/batch
# Create attachment
Source: https://docs.perscom.io/api-reference/endpoints/attachments/create-attachment
post /{version}/attachments
# Delete a batch of attachments
Source: https://docs.perscom.io/api-reference/endpoints/attachments/delete-a-batch-of-attachments
delete /{version}/attachments/batch
# Delete attachment
Source: https://docs.perscom.io/api-reference/endpoints/attachments/delete-attachment
delete /{version}/attachments/{attachment}
# Get a list of attachments
Source: https://docs.perscom.io/api-reference/endpoints/attachments/get-a-list-of-attachments
get /{version}/attachments
# Get attachment
Source: https://docs.perscom.io/api-reference/endpoints/attachments/get-attachment
get /{version}/attachments/{attachment}
# Update a batch of attachments
Source: https://docs.perscom.io/api-reference/endpoints/attachments/update-a-batch-of-attachments
patch /{version}/attachments/batch
# Update attachment
Source: https://docs.perscom.io/api-reference/endpoints/attachments/update-attachment
patch /{version}/attachments/{attachment}
# Create a batch of award records
Source: https://docs.perscom.io/api-reference/endpoints/award-records/create-a-batch-of-records-awards
post /{version}/award-records/batch
# Create award record
Source: https://docs.perscom.io/api-reference/endpoints/award-records/create-records-award
post /{version}/award-records
# Delete a batch of award records
Source: https://docs.perscom.io/api-reference/endpoints/award-records/delete-a-batch-of-records-awards
delete /{version}/award-records/batch
# Delete award record
Source: https://docs.perscom.io/api-reference/endpoints/award-records/delete-records-award
delete /{version}/award-records/{award_record}
# Get a list of award records
Source: https://docs.perscom.io/api-reference/endpoints/award-records/get-a-list-of-records-awards
get /{version}/award-records
# Get award record
Source: https://docs.perscom.io/api-reference/endpoints/award-records/get-records-award
get /{version}/award-records/{award_record}
# Update a batch of award records
Source: https://docs.perscom.io/api-reference/endpoints/award-records/update-a-batch-of-records-awards
patch /{version}/award-records/batch
# Update award record
Source: https://docs.perscom.io/api-reference/endpoints/award-records/update-records-award
patch /{version}/award-records/{award_record}
# Create image
Source: https://docs.perscom.io/api-reference/endpoints/awards-image/create-image
post /{version}/awards/{award}/image
# Delete image
Source: https://docs.perscom.io/api-reference/endpoints/awards-image/delete-image
delete /{version}/awards/{award}/image/{image}
# Get image
Source: https://docs.perscom.io/api-reference/endpoints/awards-image/get-image
get /{version}/awards/{award}/image/{image}
# Update image
Source: https://docs.perscom.io/api-reference/endpoints/awards-image/update-image
patch /{version}/awards/{award}/image/{image}
# Create a batch of awards
Source: https://docs.perscom.io/api-reference/endpoints/awards/create-a-batch-of-awards
post /{version}/awards/batch
# Create award
Source: https://docs.perscom.io/api-reference/endpoints/awards/create-award
post /{version}/awards
# Delete a batch of awards
Source: https://docs.perscom.io/api-reference/endpoints/awards/delete-a-batch-of-awards
delete /{version}/awards/batch
# Delete award
Source: https://docs.perscom.io/api-reference/endpoints/awards/delete-award
delete /{version}/awards/{award}
# Get a list of awards
Source: https://docs.perscom.io/api-reference/endpoints/awards/get-a-list-of-awards
get /{version}/awards
# Get award
Source: https://docs.perscom.io/api-reference/endpoints/awards/get-award
get /{version}/awards/{award}
# Update a batch of awards
Source: https://docs.perscom.io/api-reference/endpoints/awards/update-a-batch-of-awards
patch /{version}/awards/batch
# Update award
Source: https://docs.perscom.io/api-reference/endpoints/awards/update-award
patch /{version}/awards/{award}
# Clear cache
Source: https://docs.perscom.io/api-reference/endpoints/cache/clear-cache
post /{version}/cache
# Create a batch of calendars
Source: https://docs.perscom.io/api-reference/endpoints/calendars/create-a-batch-of-calendars
post /{version}/calendars/batch
# Create calendar
Source: https://docs.perscom.io/api-reference/endpoints/calendars/create-calendar
post /{version}/calendars
# Delete a batch of calendars
Source: https://docs.perscom.io/api-reference/endpoints/calendars/delete-a-batch-of-calendars
delete /{version}/calendars/batch
# Delete calendar
Source: https://docs.perscom.io/api-reference/endpoints/calendars/delete-calendar
delete /{version}/calendars/{calendar}
# Get a list of calendars
Source: https://docs.perscom.io/api-reference/endpoints/calendars/get-a-list-of-calendars
get /{version}/calendars
# Get calendar
Source: https://docs.perscom.io/api-reference/endpoints/calendars/get-calendar
get /{version}/calendars/{calendar}
# Update a batch of calendars
Source: https://docs.perscom.io/api-reference/endpoints/calendars/update-a-batch-of-calendars
patch /{version}/calendars/batch
# Update calendar
Source: https://docs.perscom.io/api-reference/endpoints/calendars/update-calendar
patch /{version}/calendars/{calendar}
# Attach awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/attach-awards
post /{version}/categories/{category}/awards/attach
# Create a batch of awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/create-a-batch-of-awards
post /{version}/categories/{category}/awards/batch
# Create award
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/create-award
post /{version}/categories/{category}/awards
# Delete a batch of awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/delete-a-batch-of-awards
delete /{version}/categories/{category}/awards/batch
# Delete award
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/delete-award
delete /{version}/categories/{category}/awards/{award}
# Detach awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/detach-awards
delete /{version}/categories/{category}/awards/detach
# Get a list of awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/get-a-list-of-awards
get /{version}/categories/{category}/awards
# Get award
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/get-award
get /{version}/categories/{category}/awards/{award}
# Sync awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/sync-awards
patch /{version}/categories/{category}/awards/sync
# Toggle awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/toggle-awards
patch /{version}/categories/{category}/awards/toggle
# Update a batch of awards
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/update-a-batch-of-awards
patch /{version}/categories/{category}/awards/batch
# Update award
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/update-award
patch /{version}/categories/{category}/awards/{award}
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/categories-awards/update-pivot
patch /{version}/categories/{category}/awards/{award}/pivot
# Attach documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/attach-documents
post /{version}/categories/{category}/documents/attach
# Create a batch of documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/create-a-batch-of-documents
post /{version}/categories/{category}/documents/batch
# Create document
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/create-document
post /{version}/categories/{category}/documents
# Delete a batch of documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/delete-a-batch-of-documents
delete /{version}/categories/{category}/documents/batch
# Delete document
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/delete-document
delete /{version}/categories/{category}/documents/{document}
# Detach documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/detach-documents
delete /{version}/categories/{category}/documents/detach
# Get a list of documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/get-a-list-of-documents
get /{version}/categories/{category}/documents
# Get document
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/get-document
get /{version}/categories/{category}/documents/{document}
# Sync documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/sync-documents
patch /{version}/categories/{category}/documents/sync
# Toggle documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/toggle-documents
patch /{version}/categories/{category}/documents/toggle
# Update a batch of documents
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/update-a-batch-of-documents
patch /{version}/categories/{category}/documents/batch
# Update document
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/update-document
patch /{version}/categories/{category}/documents/{document}
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/categories-documents/update-pivot
patch /{version}/categories/{category}/documents/{document}/pivot
# Attach forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/attach-forms
post /{version}/categories/{category}/forms/attach
# Create a batch of forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/create-a-batch-of-forms
post /{version}/categories/{category}/forms/batch
# Create form
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/create-form
post /{version}/categories/{category}/forms
# Delete a batch of forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/delete-a-batch-of-forms
delete /{version}/categories/{category}/forms/batch
# Delete form
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/delete-form
delete /{version}/categories/{category}/forms/{form}
# Detach forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/detach-forms
delete /{version}/categories/{category}/forms/detach
# Get a list of forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/get-a-list-of-forms
get /{version}/categories/{category}/forms
# Get form
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/get-form
get /{version}/categories/{category}/forms/{form}
# Sync forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/sync-forms
patch /{version}/categories/{category}/forms/sync
# Toggle forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/toggle-forms
patch /{version}/categories/{category}/forms/toggle
# Update a batch of forms
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/update-a-batch-of-forms
patch /{version}/categories/{category}/forms/batch
# Update form
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/update-form
patch /{version}/categories/{category}/forms/{form}
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/categories-forms/update-pivot
patch /{version}/categories/{category}/forms/{form}/pivot
# Attach qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/attach-qualifications
post /{version}/categories/{category}/qualifications/attach
# Create a batch of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/create-a-batch-of-qualifications
post /{version}/categories/{category}/qualifications/batch
# Create qualification
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/create-qualification
post /{version}/categories/{category}/qualifications
# Delete a batch of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/delete-a-batch-of-qualifications
delete /{version}/categories/{category}/qualifications/batch
# Delete qualification
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/delete-qualification
delete /{version}/categories/{category}/qualifications/{qualification}
# Detach qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/detach-qualifications
delete /{version}/categories/{category}/qualifications/detach
# Get a list of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/get-a-list-of-qualifications
get /{version}/categories/{category}/qualifications
# Get qualification
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/get-qualification
get /{version}/categories/{category}/qualifications/{qualification}
# Sync qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/sync-qualifications
patch /{version}/categories/{category}/qualifications/sync
# Toggle qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/toggle-qualifications
patch /{version}/categories/{category}/qualifications/toggle
# Update a batch of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/update-a-batch-of-qualifications
patch /{version}/categories/{category}/qualifications/batch
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/update-pivot
patch /{version}/categories/{category}/qualifications/{qualification}/pivot
# Update qualification
Source: https://docs.perscom.io/api-reference/endpoints/categories-qualifications/update-qualification
patch /{version}/categories/{category}/qualifications/{qualification}
# Attach ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/attach-ranks
post /{version}/categories/{category}/ranks/attach
# Create a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/create-a-batch-of-ranks
post /{version}/categories/{category}/ranks/batch
# Create rank
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/create-rank
post /{version}/categories/{category}/ranks
# Delete a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/delete-a-batch-of-ranks
delete /{version}/categories/{category}/ranks/batch
# Delete rank
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/delete-rank
delete /{version}/categories/{category}/ranks/{rank}
# Detach ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/detach-ranks
delete /{version}/categories/{category}/ranks/detach
# Get a list of ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/get-a-list-of-ranks
get /{version}/categories/{category}/ranks
# Get rank
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/get-rank
get /{version}/categories/{category}/ranks/{rank}
# Sync ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/sync-ranks
patch /{version}/categories/{category}/ranks/sync
# Toggle ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/toggle-ranks
patch /{version}/categories/{category}/ranks/toggle
# Update a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/update-a-batch-of-ranks
patch /{version}/categories/{category}/ranks/batch
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/update-pivot
patch /{version}/categories/{category}/ranks/{rank}/pivot
# Update rank
Source: https://docs.perscom.io/api-reference/endpoints/categories-ranks/update-rank
patch /{version}/categories/{category}/ranks/{rank}
# Create a batch of categories
Source: https://docs.perscom.io/api-reference/endpoints/categories/create-a-batch-of-categories
post /{version}/categories/batch
# Create category
Source: https://docs.perscom.io/api-reference/endpoints/categories/create-category
post /{version}/categories
# Delete a batch of categories
Source: https://docs.perscom.io/api-reference/endpoints/categories/delete-a-batch-of-categories
delete /{version}/categories/batch
# Delete category
Source: https://docs.perscom.io/api-reference/endpoints/categories/delete-category
delete /{version}/categories/{category}
# Get a list of categories
Source: https://docs.perscom.io/api-reference/endpoints/categories/get-a-list-of-categories
get /{version}/categories
# Get category
Source: https://docs.perscom.io/api-reference/endpoints/categories/get-category
get /{version}/categories/{category}
# Update a batch of categories
Source: https://docs.perscom.io/api-reference/endpoints/categories/update-a-batch-of-categories
patch /{version}/categories/batch
# Update category
Source: https://docs.perscom.io/api-reference/endpoints/categories/update-category
patch /{version}/categories/{category}
# Create a batch of combat records
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/create-a-batch-of-records-combat
post /{version}/combat-records/batch
# Create combat record
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/create-records-combat
post /{version}/combat-records
# Delete a batch of combat records
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/delete-a-batch-of-records-combat
delete /{version}/combat-records/batch
# Delete combat record
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/delete-records-combat
delete /{version}/combat-records/{combat_record}
# Get a list of combat records
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/get-a-list-of-records-combat
get /{version}/combat-records
# Get combat record
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/get-records-combat
get /{version}/combat-records/{combat_record}
# Update a batch of combat records
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/update-a-batch-of-records-combat
patch /{version}/combat-records/batch
# Update combat record
Source: https://docs.perscom.io/api-reference/endpoints/combat-records/update-records-combat
patch /{version}/combat-records/{combat_record}
# Create a batch of comments
Source: https://docs.perscom.io/api-reference/endpoints/comments/create-a-batch-of-comments
post /{version}/comments/batch
# Create comment
Source: https://docs.perscom.io/api-reference/endpoints/comments/create-comment
post /{version}/comments
# Delete a batch of comments
Source: https://docs.perscom.io/api-reference/endpoints/comments/delete-a-batch-of-comments
delete /{version}/comments/batch
# Delete comment
Source: https://docs.perscom.io/api-reference/endpoints/comments/delete-comment
delete /{version}/comments/{comment}
# Get a list of comments
Source: https://docs.perscom.io/api-reference/endpoints/comments/get-a-list-of-comments
get /{version}/comments
# Get comment
Source: https://docs.perscom.io/api-reference/endpoints/comments/get-comment
get /{version}/comments/{comment}
# Update a batch of comments
Source: https://docs.perscom.io/api-reference/endpoints/comments/update-a-batch-of-comments
patch /{version}/comments/batch
# Update comment
Source: https://docs.perscom.io/api-reference/endpoints/comments/update-comment
patch /{version}/comments/{comment}
# Create a batch of documents
Source: https://docs.perscom.io/api-reference/endpoints/documents/create-a-batch-of-documents
post /{version}/documents/batch
# Create document
Source: https://docs.perscom.io/api-reference/endpoints/documents/create-document
post /{version}/documents
# Delete a batch of documents
Source: https://docs.perscom.io/api-reference/endpoints/documents/delete-a-batch-of-documents
delete /{version}/documents/batch
# Delete document
Source: https://docs.perscom.io/api-reference/endpoints/documents/delete-document
delete /{version}/documents/{document}
# Get a list of documents
Source: https://docs.perscom.io/api-reference/endpoints/documents/get-a-list-of-documents
get /{version}/documents
# Get document
Source: https://docs.perscom.io/api-reference/endpoints/documents/get-document
get /{version}/documents/{document}
# Update a batch of documents
Source: https://docs.perscom.io/api-reference/endpoints/documents/update-a-batch-of-documents
patch /{version}/documents/batch
# Update document
Source: https://docs.perscom.io/api-reference/endpoints/documents/update-document
patch /{version}/documents/{document}
# Associate image with event
Source: https://docs.perscom.io/api-reference/endpoints/events-image/associate-image-with-event
post /{version}/events/{event}/image/associate
# Create a batch of images
Source: https://docs.perscom.io/api-reference/endpoints/events-image/create-a-batch-of-images
post /{version}/events/{event}/image/batch
# Create image
Source: https://docs.perscom.io/api-reference/endpoints/events-image/create-image
post /{version}/events/{event}/image
# Delete a batch of images
Source: https://docs.perscom.io/api-reference/endpoints/events-image/delete-a-batch-of-images
delete /{version}/events/{event}/image/batch
# Delete image
Source: https://docs.perscom.io/api-reference/endpoints/events-image/delete-image
delete /{version}/events/{event}/image/{image}
# Dissociate image from event
Source: https://docs.perscom.io/api-reference/endpoints/events-image/dissociate-image-from-event
delete /{version}/events/{event}/image/{image}/dissociate
# Get a list of images
Source: https://docs.perscom.io/api-reference/endpoints/events-image/get-a-list-of-images
get /{version}/events/{event}/image
# Get image
Source: https://docs.perscom.io/api-reference/endpoints/events-image/get-image
get /{version}/events/{event}/image/{image}
# Update a batch of images
Source: https://docs.perscom.io/api-reference/endpoints/events-image/update-a-batch-of-images
patch /{version}/events/{event}/image/batch
# Update image
Source: https://docs.perscom.io/api-reference/endpoints/events-image/update-image
patch /{version}/events/{event}/image/{image}
# Create a batch of events
Source: https://docs.perscom.io/api-reference/endpoints/events/create-a-batch-of-events
post /{version}/events/batch
# Create event
Source: https://docs.perscom.io/api-reference/endpoints/events/create-event
post /{version}/events
# Delete a batch of events
Source: https://docs.perscom.io/api-reference/endpoints/events/delete-a-batch-of-events
delete /{version}/events/batch
# Delete event
Source: https://docs.perscom.io/api-reference/endpoints/events/delete-event
delete /{version}/events/{event}
# Get a list of events
Source: https://docs.perscom.io/api-reference/endpoints/events/get-a-list-of-events
get /{version}/events
# Get event
Source: https://docs.perscom.io/api-reference/endpoints/events/get-event
get /{version}/events/{event}
# Update a batch of events
Source: https://docs.perscom.io/api-reference/endpoints/events/update-a-batch-of-events
patch /{version}/events/batch
# Update event
Source: https://docs.perscom.io/api-reference/endpoints/events/update-event
patch /{version}/events/{event}
# Attach fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/attach-fields
post /{version}/forms/{form}/fields/attach
# Create a batch of fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/create-a-batch-of-fields
post /{version}/forms/{form}/fields/batch
# Create field
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/create-field
post /{version}/forms/{form}/fields
# Delete a batch of fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/delete-a-batch-of-fields
delete /{version}/forms/{form}/fields/batch
# Delete field
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/delete-field
delete /{version}/forms/{form}/fields/{field}
# Detach fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/detach-fields
delete /{version}/forms/{form}/fields/detach
# Get a list of fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/get-a-list-of-fields
get /{version}/forms/{form}/fields
# Get field
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/get-field
get /{version}/forms/{form}/fields/{field}
# Sync fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/sync-fields
patch /{version}/forms/{form}/fields/sync
# Toggle fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/toggle-fields
patch /{version}/forms/{form}/fields/toggle
# Update a batch of fields
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/update-a-batch-of-fields
patch /{version}/forms/{form}/fields/batch
# Update field
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/update-field
patch /{version}/forms/{form}/fields/{field}
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/forms-fields/update-pivot
patch /{version}/forms/{form}/fields/{field}/pivot
# Associate submission with form
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/associate-submission-with-form
post /{version}/forms/{form}/submissions/associate
# Create a batch of submissions
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/create-a-batch-of-submissions
post /{version}/forms/{form}/submissions/batch
# Create submission
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/create-submission
post /{version}/forms/{form}/submissions
# Delete a batch of submissions
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/delete-a-batch-of-submissions
delete /{version}/forms/{form}/submissions/batch
# Delete submission
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/delete-submission
delete /{version}/forms/{form}/submissions/{submission}
# Dissociate submission from form
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/dissociate-submission-from-form
delete /{version}/forms/{form}/submissions/{submission}/dissociate
# Get a list of submissions
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/get-a-list-of-submissions
get /{version}/forms/{form}/submissions
# Get submission
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/get-submission
get /{version}/forms/{form}/submissions/{submission}
# Update a batch of submissions
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/update-a-batch-of-submissions
patch /{version}/forms/{form}/submissions/batch
# Update submission
Source: https://docs.perscom.io/api-reference/endpoints/forms-submissions/update-submission
patch /{version}/forms/{form}/submissions/{submission}
# Create a batch of forms
Source: https://docs.perscom.io/api-reference/endpoints/forms/create-a-batch-of-forms
post /{version}/forms/batch
# Create form
Source: https://docs.perscom.io/api-reference/endpoints/forms/create-form
post /{version}/forms
# Delete a batch of forms
Source: https://docs.perscom.io/api-reference/endpoints/forms/delete-a-batch-of-forms
delete /{version}/forms/batch
# Delete form
Source: https://docs.perscom.io/api-reference/endpoints/forms/delete-form
delete /{version}/forms/{form}
# Get a list of forms
Source: https://docs.perscom.io/api-reference/endpoints/forms/get-a-list-of-forms
get /{version}/forms
# Get form
Source: https://docs.perscom.io/api-reference/endpoints/forms/get-form
get /{version}/forms/{form}
# Update a batch of forms
Source: https://docs.perscom.io/api-reference/endpoints/forms/update-a-batch-of-forms
patch /{version}/forms/batch
# Update form
Source: https://docs.perscom.io/api-reference/endpoints/forms/update-form
patch /{version}/forms/{form}
# Create image
Source: https://docs.perscom.io/api-reference/endpoints/groups-image/create-image
post /{version}/groups/{group}/image
# Delete image
Source: https://docs.perscom.io/api-reference/endpoints/groups-image/delete-image
delete /{version}/groups/{group}/image/{image}
# Get image
Source: https://docs.perscom.io/api-reference/endpoints/groups-image/get-image
get /{version}/groups/{group}/image/{image}
# Update image
Source: https://docs.perscom.io/api-reference/endpoints/groups-image/update-image
patch /{version}/groups/{group}/image/{image}
# Create a batch of groups
Source: https://docs.perscom.io/api-reference/endpoints/groups/create-a-batch-of-groups
post /{version}/groups/batch
# Create group
Source: https://docs.perscom.io/api-reference/endpoints/groups/create-group
post /{version}/groups
# Delete a batch of groups
Source: https://docs.perscom.io/api-reference/endpoints/groups/delete-a-batch-of-groups
delete /{version}/groups/batch
# Delete group
Source: https://docs.perscom.io/api-reference/endpoints/groups/delete-group
delete /{version}/groups/{group}
# Get a list of groups
Source: https://docs.perscom.io/api-reference/endpoints/groups/get-a-list-of-groups
get /{version}/groups
# Get group
Source: https://docs.perscom.io/api-reference/endpoints/groups/get-group
get /{version}/groups/{group}
# Update a batch of groups
Source: https://docs.perscom.io/api-reference/endpoints/groups/update-a-batch-of-groups
patch /{version}/groups/batch
# Update group
Source: https://docs.perscom.io/api-reference/endpoints/groups/update-group
patch /{version}/groups/{group}
# Create a batch of images
Source: https://docs.perscom.io/api-reference/endpoints/images/create-a-batch-of-images
post /{version}/images/batch
# Create image
Source: https://docs.perscom.io/api-reference/endpoints/images/create-image
post /{version}/images
# Delete a batch of images
Source: https://docs.perscom.io/api-reference/endpoints/images/delete-a-batch-of-images
delete /{version}/images/batch
# Delete image
Source: https://docs.perscom.io/api-reference/endpoints/images/delete-image
delete /{version}/images/{image}
# Get a list of images
Source: https://docs.perscom.io/api-reference/endpoints/images/get-a-list-of-images
get /{version}/images
# Get image
Source: https://docs.perscom.io/api-reference/endpoints/images/get-image
get /{version}/images/{image}
# Update a batch of images
Source: https://docs.perscom.io/api-reference/endpoints/images/update-a-batch-of-images
patch /{version}/images/batch
# Update image
Source: https://docs.perscom.io/api-reference/endpoints/images/update-image
patch /{version}/images/{image}
# Get the current user
Source: https://docs.perscom.io/api-reference/endpoints/me/get-a-list-of-users
get /{version}/me
# Create a batch of messages
Source: https://docs.perscom.io/api-reference/endpoints/messages/create-a-batch-of-messages
post /{version}/messages/batch
# Create message
Source: https://docs.perscom.io/api-reference/endpoints/messages/create-message
post /{version}/messages
# Delete a batch of messages
Source: https://docs.perscom.io/api-reference/endpoints/messages/delete-a-batch-of-messages
delete /{version}/messages/batch
# Delete message
Source: https://docs.perscom.io/api-reference/endpoints/messages/delete-message
delete /{version}/messages/{message}
# Get a list of messages
Source: https://docs.perscom.io/api-reference/endpoints/messages/get-a-list-of-messages
get /{version}/messages
# Get message
Source: https://docs.perscom.io/api-reference/endpoints/messages/get-message
get /{version}/messages/{message}
# Update a batch of messages
Source: https://docs.perscom.io/api-reference/endpoints/messages/update-a-batch-of-messages
patch /{version}/messages/batch
# Update message
Source: https://docs.perscom.io/api-reference/endpoints/messages/update-message
patch /{version}/messages/{message}
# Attach users
Source: https://docs.perscom.io/api-reference/endpoints/newsfeed-likes/attach-users
post /{version}/newsfeed/{newsfeed}/likes/attach
# Detach users
Source: https://docs.perscom.io/api-reference/endpoints/newsfeed-likes/detach-users
delete /{version}/newsfeed/{newsfeed}/likes/detach
# Get a list of users
Source: https://docs.perscom.io/api-reference/endpoints/newsfeed-likes/get-a-list-of-users
get /{version}/newsfeed/{newsfeed}/likes
# Sync users
Source: https://docs.perscom.io/api-reference/endpoints/newsfeed-likes/sync-users
patch /{version}/newsfeed/{newsfeed}/likes/sync
# Get a list of activity log
Source: https://docs.perscom.io/api-reference/endpoints/newsfeed/get-a-list-of-activity-log
get /{version}/newsfeed
# Create a batch of positions
Source: https://docs.perscom.io/api-reference/endpoints/positions/create-a-batch-of-positions
post /{version}/positions/batch
# Create position
Source: https://docs.perscom.io/api-reference/endpoints/positions/create-position
post /{version}/positions
# Delete a batch of positions
Source: https://docs.perscom.io/api-reference/endpoints/positions/delete-a-batch-of-positions
delete /{version}/positions/batch
# Delete position
Source: https://docs.perscom.io/api-reference/endpoints/positions/delete-position
delete /{version}/positions/{position}
# Get a list of positions
Source: https://docs.perscom.io/api-reference/endpoints/positions/get-a-list-of-positions
get /{version}/positions
# Get position
Source: https://docs.perscom.io/api-reference/endpoints/positions/get-position
get /{version}/positions/{position}
# Update a batch of positions
Source: https://docs.perscom.io/api-reference/endpoints/positions/update-a-batch-of-positions
patch /{version}/positions/batch
# Update position
Source: https://docs.perscom.io/api-reference/endpoints/positions/update-position
patch /{version}/positions/{position}
# Create a batch of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/create-a-batch-of-records-qualifications
post /{version}/qualification-records/batch
# Create qualification record
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/create-records-qualification
post /{version}/qualification-records
# Delete a batch of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/delete-a-batch-of-records-qualifications
delete /{version}/qualification-records/batch
# Delete qualification record
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/delete-records-qualification
delete /{version}/qualification-records/{qualification_record}
# Get a list of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/get-a-list-of-records-qualifications
get /{version}/qualification-records
# Get qualification record
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/get-records-qualification
get /{version}/qualification-records/{qualification_record}
# Update a batch of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/update-a-batch-of-records-qualifications
patch /{version}/qualification-records/batch
# Update qualification record
Source: https://docs.perscom.io/api-reference/endpoints/qualification-records/update-records-qualification
patch /{version}/qualification-records/{qualification_record}
# Create image
Source: https://docs.perscom.io/api-reference/endpoints/qualifications-image/create-image
post /{version}/qualifications/{qualification}/image
# Delete image
Source: https://docs.perscom.io/api-reference/endpoints/qualifications-image/delete-image
delete /{version}/qualifications/{qualification}/image/{image}
# Get image
Source: https://docs.perscom.io/api-reference/endpoints/qualifications-image/get-image
get /{version}/qualifications/{qualification}/image/{image}
# Update image
Source: https://docs.perscom.io/api-reference/endpoints/qualifications-image/update-image
patch /{version}/qualifications/{qualification}/image/{image}
# Create a batch of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/create-a-batch-of-qualifications
post /{version}/qualifications/batch
# Create qualification
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/create-qualification
post /{version}/qualifications
# Delete a batch of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/delete-a-batch-of-qualifications
delete /{version}/qualifications/batch
# Delete qualification
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/delete-qualification
delete /{version}/qualifications/{qualification}
# Get a list of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/get-a-list-of-qualifications
get /{version}/qualifications
# Get qualification
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/get-qualification
get /{version}/qualifications/{qualification}
# Update a batch of qualifications
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/update-a-batch-of-qualifications
patch /{version}/qualifications/batch
# Update qualification
Source: https://docs.perscom.io/api-reference/endpoints/qualifications/update-qualification
patch /{version}/qualifications/{qualification}
# Create a batch of rank records
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/create-a-batch-of-records-ranks
post /{version}/rank-records/batch
# Create rank record
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/create-records-rank
post /{version}/rank-records
# Delete a batch of rank records
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/delete-a-batch-of-records-ranks
delete /{version}/rank-records/batch
# Delete rank record
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/delete-records-rank
delete /{version}/rank-records/{rank_record}
# Get a list of rank records
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/get-a-list-of-records-ranks
get /{version}/rank-records
# Get rank record
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/get-records-rank
get /{version}/rank-records/{rank_record}
# Update a batch of rank records
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/update-a-batch-of-records-ranks
patch /{version}/rank-records/batch
# Update rank record
Source: https://docs.perscom.io/api-reference/endpoints/rank-records/update-records-rank
patch /{version}/rank-records/{rank_record}
# Create image
Source: https://docs.perscom.io/api-reference/endpoints/ranks-image/create-image
post /{version}/ranks/{rank}/image
# Delete image
Source: https://docs.perscom.io/api-reference/endpoints/ranks-image/delete-image
delete /{version}/ranks/{rank}/image/{image}
# Get image
Source: https://docs.perscom.io/api-reference/endpoints/ranks-image/get-image
get /{version}/ranks/{rank}/image/{image}
# Update image
Source: https://docs.perscom.io/api-reference/endpoints/ranks-image/update-image
patch /{version}/ranks/{rank}/image/{image}
# Create a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/ranks/create-a-batch-of-ranks
post /{version}/ranks/batch
# Create rank
Source: https://docs.perscom.io/api-reference/endpoints/ranks/create-rank
post /{version}/ranks
# Delete a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/ranks/delete-a-batch-of-ranks
delete /{version}/ranks/batch
# Delete rank
Source: https://docs.perscom.io/api-reference/endpoints/ranks/delete-rank
delete /{version}/ranks/{rank}
# Get a list of ranks
Source: https://docs.perscom.io/api-reference/endpoints/ranks/get-a-list-of-ranks
get /{version}/ranks
# Get rank
Source: https://docs.perscom.io/api-reference/endpoints/ranks/get-rank
get /{version}/ranks/{rank}
# Update a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/ranks/update-a-batch-of-ranks
patch /{version}/ranks/batch
# Update rank
Source: https://docs.perscom.io/api-reference/endpoints/ranks/update-rank
patch /{version}/ranks/{rank}
# List by groups
Source: https://docs.perscom.io/api-reference/endpoints/roster/get-a-list-of-groups
get /{version}/roster
The roster endpoint returns a list of groups with their associated units and users already included. The personnel are then sorted by rank, specialty, position and name to assist with creating a roster-like UI.
# List by one group
Source: https://docs.perscom.io/api-reference/endpoints/roster/get-group
get /{version}/roster/{roster}
# Create a batch of service records
Source: https://docs.perscom.io/api-reference/endpoints/service-records/create-a-batch-of-records-service
post /{version}/service-records/batch
# Create service record
Source: https://docs.perscom.io/api-reference/endpoints/service-records/create-records-service
post /{version}/service-records
# Delete a batch of service records
Source: https://docs.perscom.io/api-reference/endpoints/service-records/delete-a-batch-of-records-service
delete /{version}/service-records/batch
# Delete service record
Source: https://docs.perscom.io/api-reference/endpoints/service-records/delete-records-service
delete /{version}/service-records/{service_record}
# Get a list of service records
Source: https://docs.perscom.io/api-reference/endpoints/service-records/get-a-list-of-records-service
get /{version}/service-records
# Get service record
Source: https://docs.perscom.io/api-reference/endpoints/service-records/get-records-service
get /{version}/service-records/{service_record}
# Update a batch of service records
Source: https://docs.perscom.io/api-reference/endpoints/service-records/update-a-batch-of-records-service
patch /{version}/service-records/batch
# Update service record
Source: https://docs.perscom.io/api-reference/endpoints/service-records/update-records-service
patch /{version}/service-records/{service_record}
# Get a list of settings
Source: https://docs.perscom.io/api-reference/endpoints/settings/get-a-list-of-settings
get /{version}/settings
# Create a batch of specialties
Source: https://docs.perscom.io/api-reference/endpoints/specialties/create-a-batch-of-specialties
post /{version}/specialties/batch
# Create specialty
Source: https://docs.perscom.io/api-reference/endpoints/specialties/create-specialty
post /{version}/specialties
# Delete a batch of specialties
Source: https://docs.perscom.io/api-reference/endpoints/specialties/delete-a-batch-of-specialties
delete /{version}/specialties/batch
# Delete specialty
Source: https://docs.perscom.io/api-reference/endpoints/specialties/delete-specialty
delete /{version}/specialties/{specialty}
# Get a list of specialties
Source: https://docs.perscom.io/api-reference/endpoints/specialties/get-a-list-of-specialties
get /{version}/specialties
# Get specialty
Source: https://docs.perscom.io/api-reference/endpoints/specialties/get-specialty
get /{version}/specialties/{specialty}
# Update a batch of specialties
Source: https://docs.perscom.io/api-reference/endpoints/specialties/update-a-batch-of-specialties
patch /{version}/specialties/batch
# Update specialty
Source: https://docs.perscom.io/api-reference/endpoints/specialties/update-specialty
patch /{version}/specialties/{specialty}
# Create a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/statuses/create-a-batch-of-statuses
post /{version}/statuses/batch
# Create status
Source: https://docs.perscom.io/api-reference/endpoints/statuses/create-status
post /{version}/statuses
# Delete a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/statuses/delete-a-batch-of-statuses
delete /{version}/statuses/batch
# Delete status
Source: https://docs.perscom.io/api-reference/endpoints/statuses/delete-status
delete /{version}/statuses/{status}
# Get a list of statuses
Source: https://docs.perscom.io/api-reference/endpoints/statuses/get-a-list-of-statuses
get /{version}/statuses
# Get status
Source: https://docs.perscom.io/api-reference/endpoints/statuses/get-status
get /{version}/statuses/{status}
# Update a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/statuses/update-a-batch-of-statuses
patch /{version}/statuses/batch
# Update status
Source: https://docs.perscom.io/api-reference/endpoints/statuses/update-status
patch /{version}/statuses/{status}
# Attach statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/attach-statuses
post /{version}/submissions/{submission}/statuses/attach
# Create a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/create-a-batch-of-statuses
post /{version}/submissions/{submission}/statuses/batch
# Create status
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/create-status
post /{version}/submissions/{submission}/statuses
# Delete a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/delete-a-batch-of-statuses
delete /{version}/submissions/{submission}/statuses/batch
# Delete status
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/delete-status
delete /{version}/submissions/{submission}/statuses/{status}
# Detach statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/detach-statuses
delete /{version}/submissions/{submission}/statuses/detach
# Get a list of statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/get-a-list-of-statuses
get /{version}/submissions/{submission}/statuses
# Get status
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/get-status
get /{version}/submissions/{submission}/statuses/{status}
# Sync statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/sync-statuses
patch /{version}/submissions/{submission}/statuses/sync
# Toggle statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/toggle-statuses
patch /{version}/submissions/{submission}/statuses/toggle
# Update a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/update-a-batch-of-statuses
patch /{version}/submissions/{submission}/statuses/batch
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/update-pivot
patch /{version}/submissions/{submission}/statuses/{status}/pivot
# Update status
Source: https://docs.perscom.io/api-reference/endpoints/submissions-statuses/update-status
patch /{version}/submissions/{submission}/statuses/{status}
# Create a batch of submissions
Source: https://docs.perscom.io/api-reference/endpoints/submissions/create-a-batch-of-submissions
post /{version}/submissions/batch
# Create submission
Source: https://docs.perscom.io/api-reference/endpoints/submissions/create-submission
post /{version}/submissions
# Delete a batch of submissions
Source: https://docs.perscom.io/api-reference/endpoints/submissions/delete-a-batch-of-submissions
delete /{version}/submissions/batch
# Delete submission
Source: https://docs.perscom.io/api-reference/endpoints/submissions/delete-submission
delete /{version}/submissions/{submission}
# Get a list of submissions
Source: https://docs.perscom.io/api-reference/endpoints/submissions/get-a-list-of-submissions
get /{version}/submissions
# Get submission
Source: https://docs.perscom.io/api-reference/endpoints/submissions/get-submission
get /{version}/submissions/{submission}
# Update a batch of submissions
Source: https://docs.perscom.io/api-reference/endpoints/submissions/update-a-batch-of-submissions
patch /{version}/submissions/batch
# Update submission
Source: https://docs.perscom.io/api-reference/endpoints/submissions/update-submission
patch /{version}/submissions/{submission}
# Create a batch of tasks
Source: https://docs.perscom.io/api-reference/endpoints/tasks/create-a-batch-of-tasks
post /{version}/tasks/batch
# Create task
Source: https://docs.perscom.io/api-reference/endpoints/tasks/create-task
post /{version}/tasks
# Delete a batch of tasks
Source: https://docs.perscom.io/api-reference/endpoints/tasks/delete-a-batch-of-tasks
delete /{version}/tasks/batch
# Delete task
Source: https://docs.perscom.io/api-reference/endpoints/tasks/delete-task
delete /{version}/tasks/{task}
# Get a list of tasks
Source: https://docs.perscom.io/api-reference/endpoints/tasks/get-a-list-of-tasks
get /{version}/tasks
# Get task
Source: https://docs.perscom.io/api-reference/endpoints/tasks/get-task
get /{version}/tasks/{task}
# Update a batch of tasks
Source: https://docs.perscom.io/api-reference/endpoints/tasks/update-a-batch-of-tasks
patch /{version}/tasks/batch
# Update task
Source: https://docs.perscom.io/api-reference/endpoints/tasks/update-task
patch /{version}/tasks/{task}
# Create a batch of training records
Source: https://docs.perscom.io/api-reference/endpoints/training-records/create-a-batch-of-records-trainings
post /{version}/training-records/batch
# Create training record
Source: https://docs.perscom.io/api-reference/endpoints/training-records/create-records-training
post /{version}/training-records
# Delete a batch of service records
Source: https://docs.perscom.io/api-reference/endpoints/training-records/delete-a-batch-of-records-trainings
delete /{version}/training-records/batch
# Delete training record
Source: https://docs.perscom.io/api-reference/endpoints/training-records/delete-records-training
delete /{version}/training-records/{training_record}
# Get a list of training records
Source: https://docs.perscom.io/api-reference/endpoints/training-records/get-a-list-of-records-trainings
get /{version}/training-records
# Get training record
Source: https://docs.perscom.io/api-reference/endpoints/training-records/get-records-training
get /{version}/training-records/{training_record}
# Update a batch of training records
Source: https://docs.perscom.io/api-reference/endpoints/training-records/update-a-batch-of-records-trainings
patch /{version}/training-records/batch
# Update training record
Source: https://docs.perscom.io/api-reference/endpoints/training-records/update-records-training
patch /{version}/training-records/{training_record}
# Create image
Source: https://docs.perscom.io/api-reference/endpoints/units-image/create-image
post /{version}/units/{unit}/image
# Delete image
Source: https://docs.perscom.io/api-reference/endpoints/units-image/delete-image
delete /{version}/units/{unit}/image/{image}
# Get image
Source: https://docs.perscom.io/api-reference/endpoints/units-image/get-image
get /{version}/units/{unit}/image/{image}
# Update image
Source: https://docs.perscom.io/api-reference/endpoints/units-image/update-image
patch /{version}/units/{unit}/image/{image}
# Create a batch of units
Source: https://docs.perscom.io/api-reference/endpoints/units/create-a-batch-of-units
post /{version}/units/batch
# Create unit
Source: https://docs.perscom.io/api-reference/endpoints/units/create-unit
post /{version}/units
# Delete a batch of units
Source: https://docs.perscom.io/api-reference/endpoints/units/delete-a-batch-of-units
delete /{version}/units/batch
# Delete unit
Source: https://docs.perscom.io/api-reference/endpoints/units/delete-unit
delete /{version}/units/{unit}
# Get a list of units
Source: https://docs.perscom.io/api-reference/endpoints/units/get-a-list-of-units
get /{version}/units
# Get unit
Source: https://docs.perscom.io/api-reference/endpoints/units/get-unit
get /{version}/units/{unit}
# Update a batch of units
Source: https://docs.perscom.io/api-reference/endpoints/units/update-a-batch-of-units
patch /{version}/units/batch
# Update unit
Source: https://docs.perscom.io/api-reference/endpoints/units/update-unit
patch /{version}/units/{unit}
# Associate assignment record with user
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/associate-records-assignment-with-user
post /{version}/users/{user}/assignment-records/associate
# Create a batch of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/create-a-batch-of-records-assignments
post /{version}/users/{user}/assignment-records/batch
# Create assignment record
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/create-records-assignment
post /{version}/users/{user}/assignment-records
# Delete a batch of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/delete-a-batch-of-records-assignments
delete /{version}/users/{user}/assignment-records/batch
# Delete assignment record
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/delete-records-assignment
delete /{version}/users/{user}/assignment-records/{assignment_record}
# Dissociate assignment record from user
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/dissociate-records-assignment-from-user
delete /{version}/users/{user}/assignment-records/{assignment_record}/dissociate
# Get a list of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/get-a-list-of-records-assignments
get /{version}/users/{user}/assignment-records
# Get assignment record
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/get-records-assignment
get /{version}/users/{user}/assignment-records/{assignment_record}
# Update a batch of assignment records
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/update-a-batch-of-records-assignments
patch /{version}/users/{user}/assignment-records/batch
# Update assignment record
Source: https://docs.perscom.io/api-reference/endpoints/users-assignment-records/update-records-assignment
patch /{version}/users/{user}/assignment-records/{assignment_record}
# Attach attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/attach-attachments
post /{version}/users/{user}/attachments/attach
# Create a batch of attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/create-a-batch-of-attachments
post /{version}/users/{user}/attachments/batch
# Create attachment
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/create-attachment
post /{version}/users/{user}/attachments
# Delete a batch of attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/delete-a-batch-of-attachments
delete /{version}/users/{user}/attachments/batch
# Delete attachment
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/delete-attachment
delete /{version}/users/{user}/attachments/{attachment}
# Detach attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/detach-attachments
delete /{version}/users/{user}/attachments/detach
# Get a list of attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/get-a-list-of-attachments
get /{version}/users/{user}/attachments
# Get attachment
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/get-attachment
get /{version}/users/{user}/attachments/{attachment}
# Sync attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/sync-attachments
patch /{version}/users/{user}/attachments/sync
# Toggle attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/toggle-attachments
patch /{version}/users/{user}/attachments/toggle
# Update a batch of attachments
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/update-a-batch-of-attachments
patch /{version}/users/{user}/attachments/batch
# Update attachment
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/update-attachment
patch /{version}/users/{user}/attachments/{attachment}
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/users-attachments/update-pivot
patch /{version}/users/{user}/attachments/{attachment}/pivot
# Associate award record with user
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/associate-records-award-with-user
post /{version}/users/{user}/award-records/associate
# Create a batch of award records
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/create-a-batch-of-records-awards
post /{version}/users/{user}/award-records/batch
# Create award record
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/create-records-award
post /{version}/users/{user}/award-records
# Delete a batch of award records
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/delete-a-batch-of-records-awards
delete /{version}/users/{user}/award-records/batch
# Delete award record
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/delete-records-award
delete /{version}/users/{user}/award-records/{award_record}
# Dissociate award record from user
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/dissociate-records-award-from-user
delete /{version}/users/{user}/award-records/{award_record}/dissociate
# Get a list of award records
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/get-a-list-of-records-awards
get /{version}/users/{user}/award-records
# Get award record
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/get-records-award
get /{version}/users/{user}/award-records/{award_record}
# Update a batch of award records
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/update-a-batch-of-records-awards
patch /{version}/users/{user}/award-records/batch
# Update award record
Source: https://docs.perscom.io/api-reference/endpoints/users-award-records/update-records-award
patch /{version}/users/{user}/award-records/{award_record}
# Associate combat record with user
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/associate-records-combat-with-user
post /{version}/users/{user}/combat-records/associate
# Create a batch of combat records
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/create-a-batch-of-records-combat
post /{version}/users/{user}/combat-records/batch
# Create combat record
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/create-records-combat
post /{version}/users/{user}/combat-records
# Delete a batch of combat records
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/delete-a-batch-of-records-combat
delete /{version}/users/{user}/combat-records/batch
# Delete combat record
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/delete-records-combat
delete /{version}/users/{user}/combat-records/{combat_record}
# Dissociate combat record from user
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/dissociate-records-combat-from-user
delete /{version}/users/{user}/combat-records/{combat_record}/dissociate
# Get a list of combat records
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/get-a-list-of-records-combat
get /{version}/users/{user}/combat-records
# Get combat record
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/get-records-combat
get /{version}/users/{user}/combat-records/{combat_record}
# Update a batch of combat records
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/update-a-batch-of-records-combat
patch /{version}/users/{user}/combat-records/batch
# Update combat record
Source: https://docs.perscom.io/api-reference/endpoints/users-combat-records/update-records-combat
patch /{version}/users/{user}/combat-records/{combat_record}
# Attach fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/attach-fields
post /{version}/users/{user}/fields/attach
# Create a batch of fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/create-a-batch-of-fields
post /{version}/users/{user}/fields/batch
# Create field
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/create-field
post /{version}/users/{user}/fields
# Delete a batch of fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/delete-a-batch-of-fields
delete /{version}/users/{user}/fields/batch
# Delete field
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/delete-field
delete /{version}/users/{user}/fields/{field}
# Detach fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/detach-fields
delete /{version}/users/{user}/fields/detach
# Get a list of fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/get-a-list-of-fields
get /{version}/users/{user}/fields
# Get field
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/get-field
get /{version}/users/{user}/fields/{field}
# Sync fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/sync-fields
patch /{version}/users/{user}/fields/sync
# Toggle fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/toggle-fields
patch /{version}/users/{user}/fields/toggle
# Update a batch of fields
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/update-a-batch-of-fields
patch /{version}/users/{user}/fields/batch
# Update field
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/update-field
patch /{version}/users/{user}/fields/{field}
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/users-fields/update-pivot
patch /{version}/users/{user}/fields/{field}/pivot
# Delete a batch of positions
Source: https://docs.perscom.io/api-reference/endpoints/users-position/delete-a-batch-of-positions
delete /{version}/users/{user}/position/batch
# Delete position
Source: https://docs.perscom.io/api-reference/endpoints/users-position/delete-position
delete /{version}/users/{user}/position/{position}
# Get position
Source: https://docs.perscom.io/api-reference/endpoints/users-position/get-position
get /{version}/users/{user}/position/{position}
# Update a batch of positions
Source: https://docs.perscom.io/api-reference/endpoints/users-position/update-a-batch-of-positions
patch /{version}/users/{user}/position/batch
# Update position
Source: https://docs.perscom.io/api-reference/endpoints/users-position/update-position
patch /{version}/users/{user}/position/{position}
# Associate qualification record with user
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/associate-records-qualification-with-user
post /{version}/users/{user}/qualification-records/associate
# Create a batch of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/create-a-batch-of-records-qualifications
post /{version}/users/{user}/qualification-records/batch
# Create qualification record
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/create-records-qualification
post /{version}/users/{user}/qualification-records
# Delete a batch of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/delete-a-batch-of-records-qualifications
delete /{version}/users/{user}/qualification-records/batch
# Delete qualification record
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/delete-records-qualification
delete /{version}/users/{user}/qualification-records/{qualification_record}
# Dissociate qualification record from user
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/dissociate-records-qualification-from-user
delete /{version}/users/{user}/qualification-records/{qualification_record}/dissociate
# Get a list of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/get-a-list-of-records-qualifications
get /{version}/users/{user}/qualification-records
# Get qualification record
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/get-records-qualification
get /{version}/users/{user}/qualification-records/{qualification_record}
# Update a batch of qualification records
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/update-a-batch-of-records-qualifications
patch /{version}/users/{user}/qualification-records/batch
# Update qualification record
Source: https://docs.perscom.io/api-reference/endpoints/users-qualification-records/update-records-qualification
patch /{version}/users/{user}/qualification-records/{qualification_record}
# Associate rank record with user
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/associate-records-rank-with-user
post /{version}/users/{user}/rank-records/associate
# Create a batch of rank records
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/create-a-batch-of-records-ranks
post /{version}/users/{user}/rank-records/batch
# Create rank record
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/create-records-rank
post /{version}/users/{user}/rank-records
# Delete a batch of rank records
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/delete-a-batch-of-records-ranks
delete /{version}/users/{user}/rank-records/batch
# Delete rank record
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/delete-records-rank
delete /{version}/users/{user}/rank-records/{rank_record}
# Dissociate rank record from user
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/dissociate-records-rank-from-user
delete /{version}/users/{user}/rank-records/{rank_record}/dissociate
# Get a list of rank records
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/get-a-list-of-records-ranks
get /{version}/users/{user}/rank-records
# Get rank record
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/get-records-rank
get /{version}/users/{user}/rank-records/{rank_record}
# Update a batch of rank records
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/update-a-batch-of-records-ranks
patch /{version}/users/{user}/rank-records/batch
# Update rank record
Source: https://docs.perscom.io/api-reference/endpoints/users-rank-records/update-records-rank
patch /{version}/users/{user}/rank-records/{rank_record}
# Delete a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/users-rank/delete-a-batch-of-ranks
delete /{version}/users/{user}/rank/batch
# Delete rank
Source: https://docs.perscom.io/api-reference/endpoints/users-rank/delete-rank
delete /{version}/users/{user}/rank/{rank}
# Get rank
Source: https://docs.perscom.io/api-reference/endpoints/users-rank/get-rank
get /{version}/users/{user}/rank/{rank}
# Update a batch of ranks
Source: https://docs.perscom.io/api-reference/endpoints/users-rank/update-a-batch-of-ranks
patch /{version}/users/{user}/rank/batch
# Update rank
Source: https://docs.perscom.io/api-reference/endpoints/users-rank/update-rank
patch /{version}/users/{user}/rank/{rank}
# Associate service record with user
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/associate-records-service-with-user
post /{version}/users/{user}/service-records/associate
# Create a batch of service records
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/create-a-batch-of-records-service
post /{version}/users/{user}/service-records/batch
# Create service record
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/create-records-service
post /{version}/users/{user}/service-records
# Delete a batch of service records
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/delete-a-batch-of-records-service
delete /{version}/users/{user}/service-records/batch
# Delete service record
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/delete-records-service
delete /{version}/users/{user}/service-records/{service_record}
# Dissociate service record from user
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/dissociate-records-service-from-user
delete /{version}/users/{user}/service-records/{service_record}/dissociate
# Get a list of service records
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/get-a-list-of-records-service
get /{version}/users/{user}/service-records
# Get service record
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/get-records-service
get /{version}/users/{user}/service-records/{service_record}
# Update a batch of service records
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/update-a-batch-of-records-service
patch /{version}/users/{user}/service-records/batch
# Update service record
Source: https://docs.perscom.io/api-reference/endpoints/users-service-records/update-records-service
patch /{version}/users/{user}/service-records/{service_record}
# Delete a batch of specialties
Source: https://docs.perscom.io/api-reference/endpoints/users-specialty/delete-a-batch-of-specialties
delete /{version}/users/{user}/specialty/batch
# Delete specialty
Source: https://docs.perscom.io/api-reference/endpoints/users-specialty/delete-specialty
delete /{version}/users/{user}/specialty/{specialty}
# Get specialty
Source: https://docs.perscom.io/api-reference/endpoints/users-specialty/get-specialty
get /{version}/users/{user}/specialty/{specialty}
# Update a batch of specialties
Source: https://docs.perscom.io/api-reference/endpoints/users-specialty/update-a-batch-of-specialties
patch /{version}/users/{user}/specialty/batch
# Update specialty
Source: https://docs.perscom.io/api-reference/endpoints/users-specialty/update-specialty
patch /{version}/users/{user}/specialty/{specialty}
# Attach statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/attach-statuses
post /{version}/users/{user}/status-records/attach
# Create a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/create-a-batch-of-statuses
post /{version}/users/{user}/status-records/batch
# Create status
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/create-status
post /{version}/users/{user}/status-records
# Delete a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/delete-a-batch-of-statuses
delete /{version}/users/{user}/status-records/batch
# Delete status
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/delete-status
delete /{version}/users/{user}/status-records/{status_record}
# Detach statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/detach-statuses
delete /{version}/users/{user}/status-records/detach
# Get a list of statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/get-a-list-of-statuses
get /{version}/users/{user}/status-records
# Get status
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/get-status
get /{version}/users/{user}/status-records/{status_record}
# Sync statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/sync-statuses
patch /{version}/users/{user}/status-records/sync
# Toggle statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/toggle-statuses
patch /{version}/users/{user}/status-records/toggle
# Update a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/update-a-batch-of-statuses
patch /{version}/users/{user}/status-records/batch
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/update-pivot
patch /{version}/users/{user}/status-records/{status_record}/pivot
# Update status
Source: https://docs.perscom.io/api-reference/endpoints/users-status-records/update-status
patch /{version}/users/{user}/status-records/{status_record}
# Delete a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status/delete-a-batch-of-statuses
delete /{version}/users/{user}/status/batch
# Delete status
Source: https://docs.perscom.io/api-reference/endpoints/users-status/delete-status
delete /{version}/users/{user}/status/{status}
# Get status
Source: https://docs.perscom.io/api-reference/endpoints/users-status/get-status
get /{version}/users/{user}/status/{status}
# Update a batch of statuses
Source: https://docs.perscom.io/api-reference/endpoints/users-status/update-a-batch-of-statuses
patch /{version}/users/{user}/status/batch
# Update status
Source: https://docs.perscom.io/api-reference/endpoints/users-status/update-status
patch /{version}/users/{user}/status/{status}
# Attach tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/attach-tasks
post /{version}/users/{user}/tasks/attach
# Create a batch of tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/create-a-batch-of-tasks
post /{version}/users/{user}/tasks/batch
# Create task
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/create-task
post /{version}/users/{user}/tasks
# Delete a batch of tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/delete-a-batch-of-tasks
delete /{version}/users/{user}/tasks/batch
# Delete task
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/delete-task
delete /{version}/users/{user}/tasks/{task}
# Detach tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/detach-tasks
delete /{version}/users/{user}/tasks/detach
# Get a list of tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/get-a-list-of-tasks
get /{version}/users/{user}/tasks
# Get task
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/get-task
get /{version}/users/{user}/tasks/{task}
# Sync tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/sync-tasks
patch /{version}/users/{user}/tasks/sync
# Toggle tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/toggle-tasks
patch /{version}/users/{user}/tasks/toggle
# Update a batch of tasks
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/update-a-batch-of-tasks
patch /{version}/users/{user}/tasks/batch
# Update pivot
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/update-pivot
patch /{version}/users/{user}/tasks/{task}/pivot
# Update task
Source: https://docs.perscom.io/api-reference/endpoints/users-tasks/update-task
patch /{version}/users/{user}/tasks/{task}
# Delete a batch of units
Source: https://docs.perscom.io/api-reference/endpoints/users-unit/delete-a-batch-of-units
delete /{version}/users/{user}/unit/batch
# Delete unit
Source: https://docs.perscom.io/api-reference/endpoints/users-unit/delete-unit
delete /{version}/users/{user}/unit/{unit}
# Get unit
Source: https://docs.perscom.io/api-reference/endpoints/users-unit/get-unit
get /{version}/users/{user}/unit/{unit}
# Update a batch of units
Source: https://docs.perscom.io/api-reference/endpoints/users-unit/update-a-batch-of-units
patch /{version}/users/{user}/unit/batch
# Update unit
Source: https://docs.perscom.io/api-reference/endpoints/users-unit/update-unit
patch /{version}/users/{user}/unit/{unit}
# Create a batch of users
Source: https://docs.perscom.io/api-reference/endpoints/users/create-a-batch-of-users
post /{version}/users/batch
# Create user
Source: https://docs.perscom.io/api-reference/endpoints/users/create-user
post /{version}/users
# Delete a batch of users
Source: https://docs.perscom.io/api-reference/endpoints/users/delete-a-batch-of-users
delete /{version}/users/batch
# Delete user
Source: https://docs.perscom.io/api-reference/endpoints/users/delete-user
delete /{version}/users/{user}
# Get a list of users
Source: https://docs.perscom.io/api-reference/endpoints/users/get-a-list-of-users
get /{version}/users
# Get user
Source: https://docs.perscom.io/api-reference/endpoints/users/get-user
get /{version}/users/{user}
# Update a batch of users
Source: https://docs.perscom.io/api-reference/endpoints/users/update-a-batch-of-users
patch /{version}/users/batch
# Update user
Source: https://docs.perscom.io/api-reference/endpoints/users/update-user
patch /{version}/users/{user}
# Introduction
Source: https://docs.perscom.io/api-reference/introduction
Learn how to integrate with the PERSCOM API.
The PERSCOM API provides programmatic access to your personnel data, enabling integration with third-party services and custom applications.
## Getting Started
Jumpstart your integration using our official Postman collection.
View the PERSCOM API OpenAPI specification file.
## Base URL
All API requests use the following base URL:
```
https://api.perscom.io/{version}
```
Replace `{version}` with the API version. The current version is `v2`.
## Request Format
The PERSCOM API uses a RESTful interface. Requests require:
* An HTTP method: `GET`, `POST`, `PUT`, `PATCH`, or `DELETE`
* An API key passed as a Bearer token in the `Authorization` header
* The `Accept: application/json` header
## Authentication
API requests require authentication via an API key. Pass your key as a Bearer token in the `Authorization` header:
```
Authorization: Bearer YOUR_API_KEY
```
Manage your API keys in the PERSCOM dashboard under **Integrations** > **API Keys**.
For more details, see [Authentication](/api-reference/authentication).
## Caching
The PERSCOM API uses a worldwide CDN to deliver fast responses. When you update data through the dashboard, the cache refreshes automatically.
If you encounter stale data, you can purge the cache from the **Integrations** > **API Keys** section in your dashboard.
## Examples
```php PHP theme={"system"}
use GuzzleHttp\Client;
$client = new Client();
$headers = [
'Accept' => 'application/json',
'Authorization' => "Bearer {$apiKey}"
];
$response = $client->request('GET', 'https://api.perscom.io/v2/users', [
'headers' => $headers
]);
echo 'Status code: ' . $response->getStatusCode();
```
```js JavaScript theme={"system"}
fetch('https://api.perscom.io/v2/users', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
Accept: 'application/json'
}
})
.then((response) => {
console.log('Status code:', response.status)
})
.catch((error) => {
console.error('Error:', error)
})
```
```python Python theme={"system"}
import requests
url = 'https://api.perscom.io/v2/users'
headers = {
'Authorization': 'Bearer YOUR_API_KEY',
'Accept': 'application/json',
}
response = requests.get(url, headers=headers)
print(f'Status code: {response.status_code}')
print(f'Response body: {response.text}')
```
# Demo
Source: https://docs.perscom.io/docs/demo
# Getting Started
Source: https://docs.perscom.io/docs/getting-started
Learn how to get started with PERSCOM.
Start using PERSCOM with a free 7-day trial. No credit card required.
Register for a 7-day free trial.
See PERSCOM in action before signing up.
## What To Expect
During your trial, you have full access to the platform to explore its features and evaluate how PERSCOM fits your organization's needs.
After the 7-day trial period ends, subscribe to a plan to continue using PERSCOM. Visit the [Pricing](/docs/pricing) page to compare subscription options.
## Next Steps
1. **Create your account** at [perscom.io/register](https://perscom.io/register)
2. **Set up your organization** with basic information
3. **Add personnel** to start managing your team
4. **Explore features** like records, forms, and calendars
5. **Configure integrations** if you need to connect external services
# Introduction
Source: https://docs.perscom.io/docs/introduction
Welcome to the official PERSCOM documentation.
PERSCOM is a comprehensive personnel management suite designed for police, fire, EMS, military, and public safety agencies. The platform provides tools to track performance, assign tasks, recognize accomplishments, manage records, build custom forms, analyze data, and maintain communication across your organization.
Register for a 7-day free trial. No credit card required.
Explore PERSCOM with a live demonstration.
## Why Choose PERSCOM
Managing personnel records across multiple disconnected systems leads to data inconsistencies and operational inefficiencies. PERSCOM solves this by providing a unified platform purpose-built for public safety organizations.
### All-In-One Platform
Every tool in PERSCOM is built and tested by our team—no third-party dependencies. Each feature integrates seamlessly with the others, providing a cohesive experience through a user-friendly interface.
### Powerful Integrations
When you need to connect with external services, PERSCOM offers a robust suite of integration tools including APIs, webhooks, OAuth 2.0, and widgets to meet your requirements.
### Built For Your Needs
PERSCOM addresses the unique challenges of police, fire, EMS, military, and public safety agencies, helping you enhance communication, streamline data management, and improve operational efficiency.
# Pricing
Source: https://docs.perscom.io/docs/pricing
Simple, transparent pricing for PERSCOM.
PERSCOM offers one comprehensive plan with full access to all features.
## Pricing
**\$20/month**
Billed monthly. Cancel anytime.
**\$200/year**
Save \$40 with annual billing.
## What's Included
Every subscription includes full access to all PERSCOM features:
* **Personnel Management** — Track and manage your entire organization
* **Records** — Assignment, award, rank, service, combat, qualification, and training records
* **Forms** — Build and deploy custom forms
* **Calendar & Events** — Schedule and manage organizational events
* **API Access** — Full access to the PERSCOM API
* **Webhooks** — Real-time notifications for external integrations
* **Automations** — Trigger actions automatically based on events
* **Widgets** — Embed personnel data on your website
* **Single Sign-On** — OAuth 2.0 and social login support
* **Custom Domain** — Use your own subdomain
* **Data Export** — Export and backup your data
* **Support** — Email and ticket support
## Free Trial
Start with a free 7-day trial to explore all features. No credit card required.
Try PERSCOM free for 7 days.
# Register
Source: https://docs.perscom.io/docs/register
# Support
Source: https://docs.perscom.io/docs/support
Get help with PERSCOM.
PERSCOM offers multiple support options to help you get the assistance you need.
## Community Support
Join the PERSCOM community Slack channel for quick help from administrators and other users.
Connect with the PERSCOM community.
## Email Support
For complex issues or account-specific questions, contact our support team directly.
Send an email to [support@deschutesdesigngroup.com](mailto:support@deschutesdesigngroup.com)
## Documentation
Browse the documentation for guides, API references, and integration instructions.
* [Getting Started](/docs/getting-started) — Set up your PERSCOM account
* [Integrations](/integrations/introduction) — Connect with external services
* [API Reference](/api-reference/introduction) — Build custom integrations
# Custom Fields
Source: https://docs.perscom.io/guides/custom-fields
Extend PERSCOM with custom fields to collect additional data on users, records, and forms.
Custom fields let you capture data beyond the built-in fields in PERSCOM. Add fields to user profiles, personnel records, and forms to track information specific to your organization.
## Use Cases
* **User profiles** — Track additional personnel data like certifications, specializations, or emergency contacts
* **Personnel records** — Add context to assignment, award, or training records with custom metadata
* **Forms** — Build application forms, surveys, or request forms with custom input fields
## Create A Custom Field
1. In the sidebar, select **Settings** > **Resources** > **Fields**.
2. Select **New field**.
3. Configure the field settings:
* **Name** — The label displayed to users
* **Slug** — A unique identifier used when saving data (auto-generated from name)
* **Type** — The input type (see [Field Types](#field-types))
4. Configure optional settings in the **Details**, **Validation**, and **Visibility** tabs.
5. Select **Create**.
## Field Types
| Type | Description |
| -------- | ------------------------------------ |
| Text | Single-line text input |
| Textarea | Multi-line text input |
| Email | Email address with validation |
| Number | Numeric input |
| Password | Masked password input |
| Code | Code editor with syntax highlighting |
| Type | Description |
| -------- | ---------------------------------------------- |
| Select | Dropdown with custom or resource-based options |
| Boolean | Checkbox for true/false values |
| Country | Dropdown of countries |
| Timezone | Dropdown of timezones |
| Type | Description |
| -------- | -------------------- |
| Date | Date picker |
| Datetime | Date and time picker |
| Type | Description |
| ----- | ------------ |
| Color | Color picker |
| File | File upload |
| Type | Description |
| ---- | ------------------------------------------------ |
| Text | Static HTML content (display only, not an input) |
## Configure Select Options
When using the **Select** field type, you can populate options from two sources:
### Custom Options
Define a static list of key-value pairs:
1. Select **Array** as the options type.
2. Add options using the key-value editor.
* **Key** — The value stored in the database
* **Value** — The label displayed to users
### Resource Options
Dynamically populate options from PERSCOM resources:
1. Select **Resource** as the options type.
2. Choose a resource from the dropdown:
* Awards, Calendars, Documents, Events
* Forms, Groups, Positions, Qualifications
* Ranks, Slots, Specialties, Statuses
* Tasks, Units, Users
The dropdown automatically updates when resources are added or removed.
## Field Settings
### Details Tab
| Setting | Description |
| ----------- | ------------------------------------------- |
| Placeholder | Text displayed when the field is empty |
| Help | Helper text displayed below the field |
| True Value | Label for true state (boolean fields only) |
| False Value | Label for false state (boolean fields only) |
### Validation Tab
| Setting | Description |
| -------- | ----------------------------------------- |
| Rules | Laravel validation rules (pipe-delimited) |
| Required | Field must be filled out |
| Readonly | Field displays value but cannot be edited |
**Common validation rules:**
* `min:3` — Minimum 3 characters
* `max:100` — Maximum 100 characters
* `regex:/^[A-Z]+$/` — Must match pattern
* `url` — Must be a valid URL
* `digits:5` — Must be exactly 5 digits
For a complete list, see the [Laravel validation documentation](https://laravel.com/docs/validation#available-validation-rules).
### Visibility Tab
| Setting | Description |
| ------- | ------------------------------------------------- |
| Hidden | Field only visible to users with edit permissions |
## Add Fields To Users
You can attach custom fields to user profiles in two ways: globally for all users or individually per user.
### Global User Fields
Apply custom fields to all user accounts automatically:
1. Navigate to **Settings** > **Dashboard** > **Fields**.
2. Select the **Users** tab.
3. Select the custom fields to include on all user profiles.
4. Select **Save**.
The selected fields appear on all user profiles. When new user accounts are created, these fields are automatically attached.
### Individual User Fields
Attach custom fields to a specific user's profile:
1. Navigate to a user's profile and select **Edit**.
2. Select the **Fields** tab.
3. Select **Add field** and choose the fields to attach.
Custom field data appears on the user's profile and can be edited by users with appropriate permissions.
## Add Fields To Forms
Build custom forms using your fields:
1. Navigate to **Forms** and select a form.
2. Select the **Fields** tab.
3. Select **Add field** and choose the fields to include.
4. Drag fields to reorder them.
When users submit the form, their responses are saved with the submission.
## Add Fields To Records
Apply custom fields globally to all records of a specific type:
1. Navigate to **Settings** > **Dashboard** > **Fields**.
2. Select the record type tab (Assignment, Award, Combat, etc.).
3. Select the custom fields to include.
4. Select **Save**.
The selected fields appear on all record forms of that type.
## API Access
Custom field data is included in API responses at the root level, keyed by the field's slug.
```json theme={"system"}
{
"data": {
"id": 1,
"name": "John Doe",
"certification_number": "ABC123",
"emergency_contact": "Jane Doe"
}
}
```
## Best Practices
* **Use descriptive names** — Choose clear field names that indicate what data to enter
* **Set appropriate types** — Use email type for emails, number for numeric data, etc.
* **Add help text** — Guide users on expected input format or requirements
* **Limit required fields** — Only require fields that are truly essential
* **Use slugs consistently** — Keep slugs lowercase with underscores for API compatibility
# Deployment
Source: https://docs.perscom.io/guides/deployment
Deploy PERSCOM to your own infrastructure using Docker, Kubernetes, or Railway.
PERSCOM can be self-hosted on your own infrastructure. Choose from three deployment options based on your technical requirements and expertise.
## Deployment Options
One-click deployment with automatic scaling and managed infrastructure.
**Best for:** Quick setup, minimal DevOps experience
Run locally or on any server with Docker Compose.
**Best for:** Development, small deployments, full control
Production-grade deployment with Helm charts.
**Best for:** Large organizations, high availability requirements
## Railway (One-Click Deployment)
Railway provides the fastest path to a running PERSCOM instance. It handles infrastructure, databases, and scaling automatically.
### Deploy To Railway
Click the button below to deploy PERSCOM to Railway:
### What Railway Provisions
Railway automatically creates and configures:
* **Laravel Application** — The main PERSCOM web application
* **Queue Worker** — Background job processing with Horizon
* **Scheduler** — Automated tasks and cron jobs
* **MySQL Database** — Persistent data storage
* **Redis Cache** — Session and cache storage
### Deployment Steps
1. Click the **Deploy on Railway** button above.
2. Sign in to Railway (or create an account).
3. Authorize Railway to access the repository.
4. Wait for the build to complete (approximately 5-10 minutes).
5. Access your PERSCOM instance at the provided URL.
Railway automatically configures all required environment variables and connects services together.
### Railway Pricing
Railway offers usage-based pricing:
* **Hobby Plan** — \$5/month, suitable for small organizations
* **Pro Plan** — \$20/month, includes team features and priority support
Monitor your resource usage in the Railway dashboard to optimize costs.
## Docker Compose (Local/Self-Hosted)
Docker Compose is ideal for local development or deploying to a single server.
### Prerequisites
* [Docker Desktop](https://www.docker.com/products/docker-desktop/) installed
* [Git](https://git-scm.com/) installed
* At least 4GB of available RAM
### Quick Start
1. **Clone the repository:**
```bash theme={"system"}
git clone https://github.com/deschutesdesigngroupllc/perscom-app.git
cd perscom-app
```
2. **Copy the environment file:**
```bash theme={"system"}
cp .env.example .env
```
3. **Start the containers:**
```bash theme={"system"}
docker compose up -d
```
4. **Run the setup command:**
```bash theme={"system"}
docker compose exec perscom composer setup
```
5. **Access PERSCOM** at `http://localhost:8080`
### Services
Docker Compose starts the following services:
| Service | Description | Port |
| ----------- | -------------------- | ---- |
| `perscom` | Main web application | 8080 |
| `mysql` | MySQL 8.4 database | 3306 |
| `redis` | Redis cache | 6379 |
| `horizon` | Queue worker | — |
| `scheduler` | Task scheduler | — |
### Configuration
Edit your `.env` file to customize the deployment:
```bash theme={"system"}
# Application
APP_NAME="My Organization"
APP_URL=http://localhost:8080
APP_ENV=production
APP_DEBUG=false
# Database
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=perscom
DB_USERNAME=root
DB_PASSWORD=your_secure_password
# Cache & Sessions
CACHE_STORE=redis
SESSION_DRIVER=redis
QUEUE_CONNECTION=redis
REDIS_HOST=redis
```
### Common Commands
```bash theme={"system"}
# Start all services
docker compose up -d
# Stop all services
docker compose down
# View logs
docker compose logs -f
# Access the application container
docker compose exec perscom bash
# Run artisan commands
docker compose exec perscom php artisan migrate
# Rebuild after code changes
docker compose build --no-cache
docker compose up -d
```
### Production Considerations
For production Docker deployments:
1. **Use the production target:**
Modify `compose.yaml` to use the `production` target instead of `development`:
```yaml theme={"system"}
services:
perscom:
build:
target: production
```
2. **Set secure passwords** for MySQL and Redis.
3. **Configure a reverse proxy** (nginx, Traefik, or Caddy) for SSL termination.
4. **Enable backups** for the MySQL volume.
5. **Set `APP_DEBUG=false`** and `APP_ENV=production`.
## Kubernetes (Helm Charts)
For production environments requiring high availability and scalability, deploy PERSCOM to Kubernetes using Helm charts.
### Prerequisites
* Kubernetes cluster (1.24+)
* [Helm](https://helm.sh/) (3.0+)
* `kubectl` configured for your cluster
* Persistent volume provisioner (for MySQL and Redis)
### Add The Helm Repository
```bash theme={"system"}
helm repo add perscom https://charts.perscom.io
helm repo update
```
### Install PERSCOM
```bash theme={"system"}
helm install perscom perscom/perscom \
--namespace perscom \
--create-namespace \
--set app.url=https://your-domain.com \
--set mysql.auth.rootPassword=your_secure_password \
--set redis.auth.password=your_redis_password
```
### Configuration Values
Create a `values.yaml` file for custom configuration:
```yaml theme={"system"}
# Application settings
app:
name: "My Organization"
url: "https://perscom.example.com"
env: production
debug: false
# Replica counts
replicaCount:
web: 2
horizon: 1
scheduler: 1
# Resource limits
resources:
web:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: 1000m
memory: 1Gi
# Ingress configuration
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt
hosts:
- host: perscom.example.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: perscom-tls
hosts:
- perscom.example.com
# MySQL configuration
mysql:
enabled: true
auth:
rootPassword: "secure_password"
database: perscom
primary:
persistence:
size: 10Gi
# Redis configuration
redis:
enabled: true
auth:
password: "redis_password"
```
Install with your custom values:
```bash theme={"system"}
helm install perscom perscom/perscom \
--namespace perscom \
--create-namespace \
-f values.yaml
```
### Scaling
Scale the web application horizontally:
```bash theme={"system"}
kubectl scale deployment perscom-web --replicas=3 -n perscom
```
Or configure auto-scaling:
```yaml theme={"system"}
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 10
targetCPUUtilizationPercentage: 70
```
### Upgrading
```bash theme={"system"}
helm repo update
helm upgrade perscom perscom/perscom -n perscom -f values.yaml
```
## Environment Variables
Key environment variables for all deployment methods:
### Required
| Variable | Description |
| ------------- | -------------------------------------------------------- |
| `APP_KEY` | Application encryption key (auto-generated during setup) |
| `APP_URL` | Public URL of your PERSCOM instance |
| `DB_HOST` | Database hostname |
| `DB_DATABASE` | Database name |
| `DB_USERNAME` | Database username |
| `DB_PASSWORD` | Database password |
### Optional Integrations
| Variable | Description |
| -------------------- | ------------------------------------------ |
| `MAIL_MAILER` | Email driver (smtp, ses, mailgun, etc.) |
| `DISCORD_BOT_TOKEN` | Discord bot token for notifications |
| `TWILIO_ACCOUNT_SID` | Twilio account for SMS notifications |
| `PUSHER_APP_KEY` | Pusher credentials for real-time updates |
| `STRIPE_KEY` | Stripe API key for billing (if applicable) |
## Security Best Practices
Follow these security practices for all production deployments.
1. **Generate strong secrets** — Use unique, random values for `APP_KEY`, database passwords, and API keys
2. **Enable HTTPS** — Always use SSL/TLS in production
3. **Rotate credentials** — Regularly update passwords and API keys
4. **Restrict database access** — Only allow connections from application servers
5. **Enable backups** — Configure automated database backups
6. **Monitor logs** — Set up log aggregation and alerting
7. **Keep updated** — Regularly update PERSCOM and dependencies
## Troubleshooting
### Application Won't Start
1. Check logs: `docker compose logs perscom` or `kubectl logs -n perscom`
2. Verify database connectivity
3. Ensure all required environment variables are set
4. Run migrations: `php artisan migrate`
### Database Connection Errors
1. Verify `DB_HOST`, `DB_DATABASE`, `DB_USERNAME`, and `DB_PASSWORD`
2. Ensure the database service is running
3. Check network connectivity between services
### Queue Jobs Not Processing
1. Verify Redis is running and accessible
2. Check Horizon status: `php artisan horizon:status`
3. Review Horizon logs for errors
### Permission Errors
1. Ensure `storage/` and `bootstrap/cache/` directories are writable
2. For Docker, verify volume permissions match the container user
## Support
Need help with deployment?
Get help from the PERSCOM community.
Browse guides and troubleshooting resources.
# Forms
Source: https://docs.perscom.io/guides/forms
Create custom forms to collect information from your personnel.
Forms allow you to collect structured data from users through customizable input fields. Use forms for applications, requests, surveys, feedback, and any other data collection needs.
## Use Cases
* **Applications** — Enlistment, transfer, or leave request forms
* **Requests** — Equipment requests, time-off requests, or support tickets
* **Surveys** — Feedback forms, after-action reviews, or polls
* **Reports** — Incident reports, activity logs, or status updates
## Create A Form
1. In the sidebar, select **Forms**.
2. Select **New form**.
3. Configure the form settings:
* **Name** — The form title displayed to users
* **Slug** — URL-friendly identifier (auto-generated from name)
* **Category** — Optional grouping for organization
* **Description** — Brief explanation of the form's purpose
* **Instructions** — Guidance for users filling out the form
* **Public** — Enable to allow submissions from guests (non-logged-in users)
4. Select **Create**.
## Add Fields To A Form
Forms use [custom fields](/guides/custom-fields) to define their input structure. After creating a form:
1. Select the form to open it.
2. Select the **Fields** tab.
3. Select **Add field** and choose existing fields, or select **New field** to create one.
4. Drag fields to reorder them as needed.
> **Tip:** Create reusable fields in **Settings** > **Resources** > **Fields** to use across multiple forms. See the [Custom Fields](/guides/custom-fields) guide for details on field types and configuration.
## Configure Submission Settings
Control what happens when users submit the form:
1. Edit the form and select the **Submission** tab.
2. Configure the settings:
* **Status** — The default status assigned to new submissions (e.g., "Pending Review")
* **Message** — Success message displayed after submission
### Submission Statuses
Create statuses to track submission progress through your workflow:
1. Navigate to **Statuses** and create statuses like "Pending", "Approved", or "Denied".
2. Assign a default status to your form.
3. Update submission statuses as you process them.
## Configure Notifications
Send notifications when forms are submitted:
1. Edit the form and select the **Notifications** tab.
2. Enable notifications and configure:
* **Channels** — Email, Discord, SMS, or in-app notifications
* **Recipients** — Who receives the notification
## Manage Submissions
View and process form submissions:
1. In the sidebar, select **Submissions**.
2. Select a submission to view its details.
3. Update the status, add comments, or take action as needed.
### Submission Details
Each submission includes:
* **User** — Who submitted the form (or "Guest" for public submissions)
* **Form** — Which form was submitted
* **Status** — Current workflow status
* **Data** — All field responses
* **Comments** — Discussion thread for reviewers
* **Timestamps** — When submitted and last updated
## Embed Forms
Share forms with your organization:
### Internal Forms
Users access forms through the PERSCOM dashboard. Link directly to a form using its URL:
```
https://your-organization.perscom.io/forms/{slug}
```
### Public Forms
Enable the **Public** toggle to allow guest submissions. Share the public URL for access without login.
> **Note:** Public forms don't associate submissions with user accounts. Use them for anonymous feedback or external applications.
## Best Practices
* **Use clear names** — Choose descriptive form names that indicate their purpose
* **Write instructions** — Help users understand what information you need
* **Organize with categories** — Group related forms for easier navigation
* **Set default statuses** — Establish a consistent starting point for your workflow
* **Configure notifications** — Ensure the right people are alerted to new submissions
* **Reuse fields** — Create fields once and attach them to multiple forms for consistency
# Integrations
Source: https://docs.perscom.io/guides/integrations
Connect PERSCOM with external services and applications.
Looking for help with integrations? Visit the **Integrations** section for comprehensive documentation on connecting PERSCOM with external services.
Access and manage your data programmatically.
Trigger actions automatically based on events.
Enable secure authentication between applications.
Receive real-time notifications when data changes.
Embed personnel data displays on your website.
Build integrations faster with the official PHP library.
Integrate with your Discord server.
Enable Google single sign-on.
# Introduction
Source: https://docs.perscom.io/guides/introduction
Step-by-step guides for common workflows in PERSCOM.
Welcome to the PERSCOM guides. These tutorials walk you through common tasks and help you get the most out of the platform.
## Getting Started
New to PERSCOM? Start with these foundational guides:
Set up groups, units, positions, ranks, and understand how they work together.
Control access to features using roles and permissions.
## Data Management
Learn how to extend PERSCOM with custom data:
Create custom fields to capture additional data on users, records, and forms.
Build custom forms to collect information from your personnel.
## Self-Hosting
Deploy PERSCOM on your own infrastructure:
Deploy using Docker, Kubernetes, or Railway.
## Integrations
Connect PERSCOM to external services:
Explore APIs, webhooks, and third-party integrations.
## Need Help?
Get help from the PERSCOM community.
Contact support for assistance.
# Organization Structure
Source: https://docs.perscom.io/guides/organization-structure
Understand how groups, units, positions, ranks, and slots work together to define your organization.
PERSCOM uses a hierarchical structure to represent your organization. Understanding how these components relate to each other is essential for setting up your roster and managing personnel effectively.
## Overview
The organization structure consists of several interconnected resources:
```
Groups
└── Units
└── Slots (manual roster only)
└── Users (via Assignment Records)
Users
├── Rank
├── Position
├── Specialty
├── Status
└── Unit
```
## Core Resources
### Groups
Groups are the top-level containers in your organization. They represent major divisions, departments, or branches.
**Examples:** Infantry Division, Fire Department, Patrol Division, Medical Corps
**Key features:**
* Groups contain units
* Groups can be hidden from the roster
* Groups are displayed in a custom order
* A unit can belong to multiple groups
**Create a group:**
1. Navigate to **Groups** and select **New group**.
2. Enter a **Name** and optional **Description**.
3. Set the **Order** to control display position.
4. Select **Create**.
### Units
Units are organizational subdivisions within groups. They represent teams, squads, platoons, stations, or any other sub-organization.
**Examples:** Alpha Squad, Engine Company 1, K-9 Unit, Trauma Team
**Key features:**
* Units belong to one or more groups
* Users are assigned to units
* Units can have slots attached (for manual rosters)
* Units can be nested conceptually through naming conventions
* Units can be hidden from the roster
**Create a unit:**
1. Navigate to **Units** and select **New unit**.
2. Enter a **Name** and optional **Description**.
3. Select **Create**.
4. Edit the unit and attach it to one or more **Groups**.
### Positions
Positions define roles or job titles within your organization. They are independent of the unit structure and can be used across any unit.
**Examples:** Squad Leader, Driver, Paramedic, Watch Commander, Rifleman
**Key features:**
* Positions are assigned directly to users
* Positions can be pre-assigned to slots (for manual rosters)
* Positions affect roster sort order
* Positions can be organized into categories
**Create a position:**
1. Navigate to **Positions** and select **New position**.
2. Enter a **Name** and optional **Description**.
3. Set the **Order** to control roster sorting.
4. Select **Create**.
### Ranks
Ranks represent the hierarchical level of personnel. They typically determine seniority and are used for roster sorting.
**Examples:** Private, Sergeant, Captain, Chief, Director
**Key features:**
* Ranks are assigned directly to users
* Ranks have an order that affects roster sorting
* Ranks can have images (insignia)
* Ranks can have abbreviations and paygrades
* Ranks can be organized into categories
**Create a rank:**
1. Navigate to **Ranks** and select **New rank**.
2. Enter a **Name**, **Abbreviation**, and optional **Paygrade**.
3. Set the **Order** (lower numbers = higher rank).
4. Upload an **Image** for the rank insignia.
5. Select **Create**.
### Specialties
Specialties represent additional qualifications, skills, or secondary roles that personnel hold.
**Examples:** Sniper, Hazmat Certified, Flight Medic, K-9 Handler
**Key features:**
* Specialties are assigned directly to users
* Specialties can be pre-assigned to slots (for manual rosters)
* Specialties are separate from positions
* Specialties can be organized into categories
### Statuses
Statuses indicate the current state or availability of personnel.
**Examples:** Active, On Leave, Deployed, Inactive, Probationary
**Key features:**
* Statuses are assigned directly to users
* Statuses can have colors for visual distinction
* Statuses appear on the roster and user profiles
## Roster Modes
PERSCOM supports two roster modes that determine how personnel are displayed and organized.
### Automatic Roster
The automatic roster displays personnel based on their direct unit assignment and sorts them according to configured criteria.
**How it works:**
1. Users are assigned directly to a unit, position, rank, and specialty
2. The roster displays all users in each unit
3. Users are sorted by the configured roster sort order (e.g., rank, then position, then name)
**Best for:**
* Simple organizational structures
* Organizations where positions don't have fixed "seats"
* Quick setup with minimal configuration
**Setup:**
1. Navigate to **Settings** > **Dashboard** > **Roster**.
2. Set **Roster Mode** to **Automatic**.
3. Configure the **Sort Order** (e.g., Rank → Position → Name).
### Manual Roster
The manual roster uses **Slots** to define specific positions within each unit. Users are assigned to slots rather than directly to units.
**How it works:**
1. Create slots that define positions within the organization
2. Attach slots to units (creating a UnitSlot)
3. Assign users to specific unit slots via assignment records
4. The roster displays slots in order, showing who fills each one
**Best for:**
* Military-style organizations with fixed billets
* Organizations with specific "seats" that need to be filled
* Displaying vacancies and organizational capacity
* Complex structures requiring precise placement
**Setup:**
1. Navigate to **Settings** > **Dashboard** > **Roster**.
2. Set **Roster Mode** to **Manual**.
3. Create slots and attach them to units.
4. Assign users to unit slots.
## Slots (Manual Roster)
Slots are placeholders that define positions within units. They're only used when the roster mode is set to **Manual**.
### Understanding Slots vs. Unit Slots
* **Slot** — A reusable template defining a position (e.g., "Squad Leader")
* **Unit Slot** — A specific instance of a slot attached to a unit (e.g., "Squad Leader in Alpha Squad")
This distinction allows you to:
* Reuse the same slot definition across multiple units
* Track exactly where each user is assigned
* Show vacancies when slots are unfilled
### Create A Slot
1. Navigate to **Slots** and select **New slot**.
2. Enter a **Name** (e.g., "Squad Leader", "Rifleman", "Driver").
3. Optionally assign a default **Position** and **Specialty**.
4. Set the **Order** to control display position within units.
5. Select **Create**.
### Attach Slots To Units
1. Navigate to **Units** and select a unit.
2. Select the **Slots** tab.
3. Select **Add slot** and choose slots to attach.
4. Reorder slots by dragging them.
Each attachment creates a **Unit Slot** — a specific "seat" in that unit.
### Assign Users To Unit Slots
When using manual roster mode, you assign users to specific unit slots through assignment records:
1. Navigate to a user's profile.
2. Go to **Records** > **Assignment Records**.
3. Select **New assignment record**.
4. Select the **Unit Slot** (this will show as "Slot Name - Unit Name").
5. The position and specialty from the slot are automatically applied.
6. Select **Create**.
> **Note:** When you select a unit slot, the unit, position, and specialty are automatically populated from the slot's configuration.
## Assignment Records
Assignment records track a user's placement within the organization. They support both primary and secondary assignments.
### Primary Assignments
A user's primary assignment is their main organizational placement. It determines:
* Which unit they belong to
* Their position and specialty
* Where they appear on the roster
Each user can have one active primary assignment.
### Secondary Assignments
Secondary assignments allow users to hold additional roles in other units without leaving their primary assignment.
**Examples:**
* A squad leader who also serves on a training committee
* A firefighter assigned to a special response team
* An officer with a secondary staff position
Secondary assignments:
* Appear on the roster in the secondary unit (marked as secondary)
* Don't change the user's primary unit assignment
* Allow personnel to be listed in multiple places
### Create An Assignment Record
1. Navigate to a user's profile.
2. Go to **Records** > **Assignment Records**.
3. Select **New assignment record**.
4. Choose the **Type**: Primary or Secondary.
5. Select the **Unit** (automatic roster) or **Unit Slot** (manual roster).
6. Fill in **Position**, **Specialty**, and **Status** as needed.
7. Add optional notes in the **Text** field.
8. Select **Create**.
## Assigning Users
How you assign users depends on your roster mode.
### Automatic Roster Assignment
For automatic rosters, assign users directly:
1. Navigate to the user's profile and select **Edit**.
2. Set the **Unit**, **Position**, **Rank**, **Specialty**, and **Status**.
3. Select **Save**.
Alternatively, create an assignment record to track the history of assignments.
### Manual Roster Assignment
For manual rosters, assign users to unit slots:
1. Navigate to the user's profile.
2. Go to **Records** > **Assignment Records**.
3. Select **New assignment record**.
4. Select the appropriate **Unit Slot**.
5. Select **Create**.
The user will appear in that slot on the roster.
## Roster Sort Order
Configure how personnel are sorted within each unit:
1. Navigate to **Settings** > **Dashboard** > **Roster**.
2. Configure the **Sort Order** by dragging fields.
Common sort orders:
* **Rank → Position → Name** — Military-style by seniority
* **Position → Rank → Name** — By role, then seniority
* **Name** — Alphabetical
## Best Practices
### Planning Your Structure
1. **Map your organization first** — Sketch out groups, units, and positions before creating them in PERSCOM
2. **Use consistent naming** — Establish naming conventions for units and positions
3. **Consider your roster mode early** — Switching between automatic and manual requires restructuring assignments
### Groups & Units
* **Keep groups broad** — Use groups for major divisions, not small teams
* **Use units for teams** — Units should represent the smallest organizational element
* **Attach units to multiple groups** — A unit can appear under different groups if needed
### Positions & Ranks
* **Separate positions from ranks** — Positions are roles; ranks are seniority levels
* **Order matters** — Set position and rank order carefully for proper roster sorting
* **Use categories** — Organize positions and ranks into categories for easier management
### Slots (Manual Roster)
* **Create reusable slots** — Define slots generically (e.g., "Rifleman") to use across units
* **Pre-assign positions** — Set default positions on slots to auto-populate assignment records
* **Show vacancies** — Unfilled slots indicate open positions in your organization
# Roles & Permissions
Source: https://docs.perscom.io/guides/roles-permissions
Control access to PERSCOM features using roles and permissions.
PERSCOM uses role-based access control (RBAC) to manage what users can see and do within the application. Assign roles to users to grant them specific permissions across the system.
## How It Works
The permission system has three main components:
* **Permissions** — Individual actions users can perform (e.g., "view users", "create ranks")
* **Roles** — Collections of permissions grouped together (e.g., "Admin", "Recruiter", "Member")
* **Users** — Have one or more roles assigned, granting them all permissions from those roles
```
User → Role(s) → Permission(s) → Access
```
## Default Roles
PERSCOM includes one built-in role:
| Role | Description |
| --------- | ------------------------------------------------------------------------ |
| **Admin** | Full access to all features and settings. Cannot be modified or deleted. |
The Admin role is a "super admin" that automatically has all permissions. At least one user should always have this role.
## Permission Types
Permissions are automatically generated for three categories:
### Resource Permissions
Control access to data and records. Each resource has multiple permission levels:
| Permission | Description |
| -------------- | ------------------------------ |
| `view_any` | View the list of records |
| `view` | View individual record details |
| `create` | Create new records |
| `update` | Edit existing records |
| `delete` | Delete records |
| `restore` | Restore soft-deleted records |
| `force_delete` | Permanently delete records |
| `reorder` | Change the order of records |
**Example:** A user with `view_any_user` and `view_user` can browse and view user profiles, but cannot create, edit, or delete users.
### Page Permissions
Control access to specific pages in the application:
| Permission | Description |
| --------------- | ------------------------ |
| `view_calendar` | Access the calendar page |
| `view_roster` | Access the roster page |
| `view_forms` | Access the forms page |
| `view_widgets` | Access the widgets page |
### Widget Permissions
Control which dashboard widgets users can see:
| Permission | Description |
| ------------------------------- | ---------------------------- |
| `view_calendar_widget` | See the calendar widget |
| `view_recent_records_widget` | See recent records widget |
| `view_organization_info_widget` | See organization info widget |
## Create A Custom Role
1. Navigate to **Settings** > **Users** > **Roles**.
2. Select **New role**.
3. Enter a **Name** for the role (e.g., "Recruiter", "Training Officer").
4. Configure permissions in each tab:
* **Resources** — Data access permissions
* **Pages** — Page access permissions
* **Widgets** — Widget visibility permissions
5. Select **Create**.
### Permission Selection
When creating or editing a role, permissions are organized by category. For each resource, you can:
* **Select All** — Grant all permissions for that resource
* **Select Individual** — Choose specific permissions (view, create, update, etc.)
> **Tip:** Start with minimal permissions and add more as needed. It's easier to grant additional access than to revoke it.
## Example Roles
Here are common role configurations:
### Recruiter
A role for users who process new applications:
**Resources:**
* Users: `view_any`, `view`, `create`, `update`
* Submissions: `view_any`, `view`, `update`, `delete`
* Forms: `view_any`, `view`
**Pages:**
* Forms: `view`
### Training Officer
A role for users who manage training records:
**Resources:**
* Users: `view_any`, `view`
* Training Records: `view_any`, `view`, `create`, `update`, `delete`
* Qualifications: `view_any`, `view`, `create`, `update`
* Qualification Records: `view_any`, `view`, `create`, `update`, `delete`
### Read-Only Member
A basic role for members who can only view information:
**Resources:**
* Users: `view_any`, `view`
* Ranks: `view_any`, `view`
* Units: `view_any`, `view`
* Positions: `view_any`, `view`
* Awards: `view_any`, `view`
* Announcements: `view_any`, `view`
**Pages:**
* Roster: `view`
* Calendar: `view`
## Assign Roles To Users
### Assign During User Creation
1. Navigate to **Users** and select **New user**.
2. In the user form, select the **Roles** to assign.
3. Complete the form and select **Create**.
### Assign To Existing Users
1. Navigate to **Users** and select a user.
2. Select **Edit**.
3. Select the **Roles** tab.
4. Select **Add role** to attach roles to the user.
5. Select **Save**.
### Remove Roles
1. Navigate to the user's profile and select **Edit**.
2. Select the **Roles** tab.
3. Select the delete icon next to the role to remove it.
4. Select **Save**.
## Configure Default Roles
Set roles that are automatically assigned to new users:
1. Navigate to **Settings** > **Users** > **Permissions**.
2. In the **Defaults** tab, select the **Role(s)** to assign to new users.
3. Optionally, select individual **Permission(s)** to grant directly.
4. Select **Save**.
> **Note:** Default roles apply to users created through registration or the dashboard. API-created users may need roles assigned separately.
## Permission Inheritance
Users inherit all permissions from their assigned roles:
* A user with **Role A** (10 permissions) and **Role B** (5 permissions) has all 15 permissions
* Permissions are additive — there's no way to "deny" a permission
* The Admin role automatically includes all permissions
## Settings Access
Access to settings pages requires specific permissions:
| Settings Section | Required Permission |
| --------------------- | ---------------------------- |
| Dashboard Settings | `view_settings_dashboard` |
| Registration Settings | `view_settings_registration` |
| Organization Settings | `view_settings_organization` |
| Permission Settings | Admin role only |
| Role Management | `view_any_role`, `view_role` |
## Resource Permissions Reference
| Resource | Permissions |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Users | `view_any_user`, `view_user`, `create_user`, `update_user`, `delete_user` |
| Assignment Records | `view_any_assignment_record`, `view_assignment_record`, `create_assignment_record`, `update_assignment_record`, `delete_assignment_record` |
| Award Records | `view_any_award_record`, `view_award_record`, `create_award_record`, `update_award_record`, `delete_award_record` |
| Rank Records | `view_any_rank_record`, `view_rank_record`, `create_rank_record`, `update_rank_record`, `delete_rank_record` |
| Service Records | `view_any_service_record`, `view_service_record`, `create_service_record`, `update_service_record`, `delete_service_record` |
| Training Records | `view_any_training_record`, `view_training_record`, `create_training_record`, `update_training_record`, `delete_training_record` |
| Combat Records | `view_any_combat_record`, `view_combat_record`, `create_combat_record`, `update_combat_record`, `delete_combat_record` |
| Qualification Records | `view_any_qualification_record`, `view_qualification_record`, `create_qualification_record`, `update_qualification_record`, `delete_qualification_record` |
| Resource | Permissions |
| ----------- | -------------------------------------------------------------------------------------------------- |
| Groups | `view_any_group`, `view_group`, `create_group`, `update_group`, `delete_group` |
| Units | `view_any_unit`, `view_unit`, `create_unit`, `update_unit`, `delete_unit` |
| Positions | `view_any_position`, `view_position`, `create_position`, `update_position`, `delete_position` |
| Ranks | `view_any_rank`, `view_rank`, `create_rank`, `update_rank`, `delete_rank` |
| Specialties | `view_any_specialty`, `view_specialty`, `create_specialty`, `update_specialty`, `delete_specialty` |
| Statuses | `view_any_status`, `view_status`, `create_status`, `update_status`, `delete_status` |
| Slots | `view_any_slot`, `view_slot`, `create_slot`, `update_slot`, `delete_slot` |
| Resource | Permissions |
| -------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Announcements | `view_any_announcement`, `view_announcement`, `create_announcement`, `update_announcement`, `delete_announcement` |
| Documents | `view_any_document`, `view_document`, `create_document`, `update_document`, `delete_document` |
| Forms | `view_any_form`, `view_form`, `create_form`, `update_form`, `delete_form` |
| Submissions | `view_any_submission`, `view_submission`, `create_submission`, `update_submission`, `delete_submission` |
| Awards | `view_any_award`, `view_award`, `create_award`, `update_award`, `delete_award` |
| Qualifications | `view_any_qualification`, `view_qualification`, `create_qualification`, `update_qualification`, `delete_qualification` |
| Resource | Permissions |
| --------- | --------------------------------------------------------------------------------------------- |
| Calendars | `view_any_calendar`, `view_calendar`, `create_calendar`, `update_calendar`, `delete_calendar` |
| Events | `view_any_event`, `view_event`, `create_event`, `update_event`, `delete_event` |
| Resource | Permissions |
| ---------- | --------------------------------------------------------------------------------------------- |
| Roles | `view_any_role`, `view_role`, `create_role`, `update_role`, `delete_role` |
| Categories | `view_any_category`, `view_category`, `create_category`, `update_category`, `delete_category` |
| Fields | `view_any_field`, `view_field`, `create_field`, `update_field`, `delete_field` |
## Best Practices
### Role Design
* **Use descriptive names** — "Recruiter" is better than "Role 1"
* **Follow least privilege** — Only grant permissions users actually need
* **Create role hierarchies** — Build roles that progressively add permissions (Member → NCO → Officer → Admin)
* **Document your roles** — Keep notes on what each role is intended for
### User Management
* **Assign multiple roles** — Combine roles for users with multiple responsibilities
* **Review periodically** — Audit user roles regularly to ensure they're still appropriate
* **Use default roles** — Configure defaults to ensure new users have basic access
### Security
* **Limit Admin access** — Only trusted users should have the Admin role
* **Separate duties** — Different people should manage users vs. manage roles when possible
* **Audit changes** — Review the activity log for permission-related changes
## Troubleshooting
### User Can't Access A Feature
1. Check which roles the user has assigned
2. Verify the role includes the required permission
3. Ensure the user has refreshed their browser after role changes
### Permission Changes Not Taking Effect
1. Have the user log out and log back in
2. Clear the application cache if using Redis or file caching
3. Verify the role was saved correctly
### Can't Delete A Role
* The Admin role cannot be deleted
* Roles with users assigned cannot be deleted — remove users first
* Ensure you have the `delete_role` permission
# API
Source: https://docs.perscom.io/integrations/api
# Automations
Source: https://docs.perscom.io/integrations/automations
Automate workflows by triggering actions when specific events occur in your organization.
Automations enable you to create powerful, event-driven workflows that execute automatically when specific actions occur in PERSCOM. Instead of manually performing repetitive tasks, you can configure automations to send notifications, trigger webhooks, or deliver messages whenever personnel records change, forms are submitted, or users are updated.
## Use Cases
Automations are useful for:
* **Notifications**: Send messages to team members when a user receives a new award or promotion
* **External integrations**: Trigger webhooks to sync data with external systems like Discord, Slack, or custom applications
* **Approval workflows**: Notify supervisors when new form submissions require review
* **Audit trails**: Send automated messages when critical personnel changes occur
* **Onboarding**: Welcome new users with automated messages when their accounts are created
## How Automations Work
Each automation consists of three components:
1. **Trigger**: The event that starts the automation (e.g., "User Created" or "Award Record Updated")
2. **Condition** (optional): An expression that determines whether the action should execute
3. **Action**: What happens when the automation runs (send a webhook or create a message)
When the trigger event occurs and any configured conditions are met, the automation executes the specified action and logs the result.
## Create an Automation
1. In the sidebar, select **Integrations** > **Automations**.
2. Select **New automation**.
3. Configure the automation settings:
* **Name**: A descriptive name for the automation
* **Description**: Optional explanation of what the automation does
* **Priority**: Lower numbers run first when multiple automations share the same trigger (default is 0)
* **Enabled**: Toggle to activate or deactivate the automation
4. Select the **1. Trigger** tab and choose the event that starts this automation.
5. (Optional) Select the **2. Condition** tab to add a conditional expression.
6. Select the **3. Action** tab and configure either a webhook or message action.
7. Select **Create**.
## Triggers
Triggers define which events start your automation. Select one trigger per automation. To respond to multiple events, create separate automations for each.
### Available Triggers
| Category | Events |
| -------------------- | ---------------------------------------------- |
| User | User Created, User Updated, User Deleted |
| Assignment Record | Assignment Record Created, Updated, Deleted |
| Award Record | Award Record Created, Updated, Deleted |
| Combat Record | Combat Record Created, Updated, Deleted |
| Qualification Record | Qualification Record Created, Updated, Deleted |
| Rank Record | Rank Record Created, Updated, Deleted |
| Service Record | Service Record Created, Updated, Deleted |
| Calendar | Calendar Created, Updated, Deleted |
| Event | Event Created, Updated, Deleted |
| Message | Message Created, Updated, Deleted |
| Submission | Submission Created, Updated, Deleted |
## Conditions
Conditions allow you to control when an automation executes based on the data in the triggered event. Conditions use expression syntax to evaluate whether the action should run.
### Expression Syntax
Conditions use the [Symfony Expression Language](https://symfony.com/doc/current/components/expression_language/syntax.html) syntax. Expressions must evaluate to `true` for the action to execute.
**Basic comparisons:**
```
model["status"] == "active"
model["rank_id"] > 5
causer["id"] != model["id"]
```
**Logical operators:**
```
model["status"] == "active" and model["approved"] == true
model["rank_id"] > 5 or model["position_id"] == 1
```
**Null checks:**
```
causer != null
model["notes"] != null
```
### Available Context Variables
When writing conditions, you have access to these variables:
| Variable | Type | Description |
| ------------ | -------- | ----------------------------------------------------------------------------------------------- |
| `model` | object | The record that triggered the event (e.g., the user or award record) |
| `model_type` | string | The fully qualified class name of the model (e.g., `App\Models\User`) |
| `model_id` | integer | The ID of the model that triggered the event |
| `changes` | object | An object containing changed fields with `old` and `new` values for each (update triggers only) |
| `causer` | object | The user who triggered the event, if available |
| `causer_id` | integer | The ID of the user who triggered the event |
| `now` | datetime | The current date and time when the automation runs |
Access properties using array syntax: `model["name"]`, `model["email"]`, `causer["id"]`.
#### The Changes Object
For update triggers, the `changes` object contains only the fields that were modified. Each changed field has `old` and `new` properties:
```json theme={"system"}
{
"rank_id": {
"old": 5,
"new": 6
},
"position_id": {
"old": 2,
"new": 3
}
}
```
Access specific change values:
* `changes.rank_id.old` — The previous rank ID
* `changes.rank_id.new` — The new rank ID
#### Full Context Example
Here's an example of the complete context data available for a user update trigger:
```json theme={"system"}
{
"model": {
"id": 42,
"name": "John Doe",
"email": "john@example.com",
"rank_id": 6,
"position_id": 3,
"unit_id": 2,
"status_id": 1
},
"model_type": "App\\Models\\User",
"model_id": 42,
"changes": {
"rank_id": {
"old": 5,
"new": 6
}
},
"causer": {
"id": 1,
"name": "Admin User",
"email": "admin@example.com"
},
"causer_id": 1,
"now": "2024-01-15T14:30:00.000000Z"
}
```
### Built-in Functions
Use these functions in your condition expressions:
| Function | Description | Example |
| ------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------ |
| `in_array(needle, haystack)` | Check if a value exists in an array | `in_array(model["status_id"], [1, 2, 3])` |
| `contains(haystack, needle)` | Check if a string contains a substring | `contains(model["email"], "@example.com")` |
| `starts_with(haystack, needle)` | Check if a string starts with a prefix | `starts_with(model["name"], "Admin")` |
| `ends_with(haystack, needle)` | Check if a string ends with a suffix | `ends_with(model["email"], ".gov")` |
| `changed(key)` | Check if a specific field was changed (checks if key exists in `changes`) | `changed("rank_id")` |
| `old_value(key)` | Get the previous value of a changed field (shorthand for `changes.key.old`) | `old_value("rank_id")` |
| `new_value(key)` | Get the new value of a changed field (shorthand for `changes.key.new`) | `new_value("rank_id")` |
| `blank(value)` | Check if a value is empty | `blank(model["notes"])` |
| `filled(value)` | Check if a value is not empty | `filled(model["discord_user_id"])` |
### Condition Examples
**Run only when a user is approved:**
```
model["approved"] == true
```
**Run only when rank changes:**
```
changed("rank_id")
```
**Run only when rank increases:**
```
changed("rank_id") and new_value("rank_id") > old_value("rank_id")
```
**Run only for users with a specific email domain:**
```
ends_with(model["email"], "@agency.gov")
```
**Run only when triggered by a specific user:**
```
causer != null and causer["id"] == 1
```
### Testing Conditions
Before saving your automation, test your condition:
1. Select a trigger to populate the available fields.
2. Enter your condition expression.
3. Select **Test** to evaluate the expression against sample data.
4. Select **View Fields** to see all available fields for the selected trigger.
5. Select **View Functions** to see all available functions.
## Actions
Actions define what happens when an automation triggers and conditions pass. Each automation performs one action.
### Webhook Action
Webhook actions send HTTP requests to external URLs, enabling integration with third-party services.
1. Select **Send Webhook** as the action type.
2. Choose an existing webhook from the dropdown.
3. (Optional) Define a custom payload template using JSON and Twig syntax.
If you don't specify a custom payload, the automation sends the full model data.
> **Note:** Before creating a webhook automation, you must first create a webhook in **Integrations** > **Webhooks**.
#### Custom Payload Templates
Create custom JSON payloads using Twig template syntax. Use `{{ variable }}` to insert dynamic values.
**Example: Discord webhook payload**
```json theme={"system"}
{
"content": "New user registered: {{ model.name }}",
"username": "PERSCOM Bot"
}
```
**Example: Custom integration payload**
```json theme={"system"}
{
"event": "user_promoted",
"user": {
"id": "{{ model.id }}",
"name": "{{ model.name }}",
"email": "{{ model.email }}"
},
"promoted_by": "{{ causer.name }}",
"timestamp": "{{ now | date('Y-m-d H:i:s') }}"
}
```
**Example: Payload with change details**
```json theme={"system"}
{
"event": "rank_changed",
"user_id": {{ model_id }},
"previous_rank_id": {{ changes.rank_id.old }},
"new_rank_id": {{ changes.rank_id.new }},
"changed_by": {{ causer_id }}
}
```
### Message Action
Message actions create notifications sent through your configured notification channels.
1. Select **Send Message** as the action type.
2. Select one or more notification channels (Email, Database, Discord, SMS).
3. Enter the message content using Twig syntax for dynamic values.
4. (Optional) Specify a recipients expression to target specific users.
#### Message Content
Write your message content using Twig template syntax:
```
{{ model.name }} has been promoted to {{ model.rank.name }}.
This change was made by {{ causer.name }} on {{ now | date('F j, Y') }}.
```
**Example with change details:**
```
{{ model.name }}'s rank has been updated from ID {{ changes.rank_id.old }} to ID {{ changes.rank_id.new }}.
```
#### Recipients Expression
Define who receives the message using an expression that returns user IDs:
**Send to the affected user:**
```
model["id"]
```
**Send to the user's supervisor (for record models):**
```
model["user_id"]
```
**Send to multiple users:**
```
[model["id"], causer["id"]]
```
**Conditional recipient:**
```
model["supervisor_id"] != null ? model["supervisor_id"] : causer["id"]
```
If left empty, the message uses the default notification behavior.
### Update Resource Action
Update Resource actions modify existing records in your system based on automation triggers. This enables you to automatically update user profiles or other resources when events occur.
> **Note:** Currently, only User resources are supported for updates.
1. Select **Update Resource** as the action type.
2. Select the **Target Resource** (currently Users).
3. Choose a **Lookup Type** to identify which record to update:
* **Expression**: Write an expression that returns the ID of the record to update
* **Query**: Define field conditions to find the record
4. Configure the **Field Updates** with the fields and values to set.
#### Lookup Types
**Expression Lookup**
Use an expression that evaluates to the ID of the record you want to update:
```
model["id"]
```
This example updates the user who triggered the event. You can also use more complex expressions:
```
causer["id"]
```
This updates the user associated with a record (e.g., when an award record is created, update the user who received the award).
**Query Lookup**
Define field-value conditions to find the target record. The system finds the first record matching all conditions.
| Field | Value |
| ----------- | ------------------- |
| `email` | `{{ model.email }}` |
| `status_id` | `1` |
Query values support Twig syntax for dynamic matching.
#### Field Updates
Define which fields to update and their new values. Values support Twig template syntax, giving you access to all context variables plus a special `target` variable.
| Field | Value |
| ----------- | ----------------------------------------------------- |
| `status_id` | `2` |
| `notes` | `Updated by automation on {{ now \| date('Y-m-d') }}` |
| `rank_id` | `{{ target.rank_id \| increment }}` |
#### The Target Variable
When configuring field updates, you have access to a `target` variable containing the current data of the record being updated. This allows you to reference existing values when setting new ones.
**Example: Increment a user's rank:**
```
{{ target.rank_id | increment }}
```
**Example: Append to existing notes:**
```
{{ target.notes }} - Updated on {{ now | date('Y-m-d') }}
```
**Example: Conditional value based on target data:**
```
{{ target.status_id == 1 ? 2 : target.status_id }}
```
#### Resource Update Examples
**Update user status when a form is submitted:**
* **Trigger**: Submission Created
* **Condition**: `model["form_id"] == 5`
* **Action**: Update Resource
* **Lookup Type**: Expression
* **Lookup Expression**: `model["user_id"]`
* **Field Updates**:
| Field | Value |
| ----------- | ----- |
| `status_id` | `2` |
**Promote a user when they receive a specific award:**
* **Trigger**: Award Record Created
* **Condition**: `model["award_id"] == 10`
* **Action**: Update Resource
* **Lookup Type**: Expression
* **Lookup Expression**: `model["user_id"]`
* **Field Updates**:
| Field | Value |
| --------- | ----------------------------------- |
| `rank_id` | `{{ target.rank_id \| increment }}` |
**Update user profile based on external data:**
* **Trigger**: User Updated
* **Condition**: `changed("external_id") and filled(model["external_id"])`
* **Action**: Update Resource
* **Lookup Type**: Query
* **Query Conditions**:
| Field | Value |
| ----- | ---------------- |
| `id` | `{{ model.id }}` |
* **Field Updates**:
| Field | Value |
| ------------- | ---------------------------------- |
| `verified` | `true` |
| `verified_at` | `{{ now \| date('Y-m-d H:i:s') }}` |
## Twig Filters
Use Twig filters to transform values in your templates. Apply filters using the pipe syntax: `{{ value | filter }}`.
| Filter | Description | Example |
| -------------- | ----------------------------------- | --------------------------------------------- |
| `capitalize` | Capitalize the first character | `{{ model.name \| capitalize }}` |
| `date` | Format a date | `{{ model.created_at \| date("Y-m-d") }}` |
| `decrement(n)` | Subtract from a number (default: 1) | `{{ model.rank_id \| decrement(2) }}` |
| `default` | Provide a fallback value | `{{ model.nickname \| default("N/A") }}` |
| `escape` | Escape HTML entities | `{{ model.notes \| escape }}` |
| `first` | Get the first array element | `{{ model.tags \| first }}` |
| `increment(n)` | Add to a number (default: 1) | `{{ model.rank_id \| increment(5) }}` |
| `join` | Join array elements | `{{ model.tags \| join(", ") }}` |
| `json_encode` | Encode value as JSON | `{{ model \| json_encode }}` |
| `last` | Get the last array element | `{{ model.tags \| last }}` |
| `length` | Get string or array length | `{{ model.name \| length }}` |
| `lower` | Convert to lowercase | `{{ model.name \| lower }}` |
| `nl2br` | Convert newlines to HTML breaks | `{{ model.notes \| nl2br }}` |
| `raw` | Output without escaping | `{{ model.html_content \| raw }}` |
| `replace` | Replace text | `{{ model.text \| replace({"foo": "bar"}) }}` |
| `round` | Round a number | `{{ model.score \| round }}` |
| `slice` | Extract a portion | `{{ model.notes \| slice(0, 100) }}` |
| `split` | Split string into array | `{{ model.tags_string \| split(",") }}` |
| `striptags` | Remove HTML tags | `{{ model.description \| striptags }}` |
| `title` | Convert to title case | `{{ model.name \| title }}` |
| `trim` | Remove surrounding whitespace | `{{ model.notes \| trim }}` |
| `upper` | Convert to uppercase | `{{ model.name \| upper }}` |
## View Automation Logs
Every automation execution is logged for debugging and auditing purposes.
### Access Logs
1. In the sidebar, select **Integrations** > **Automations**.
2. Select an automation to view its details.
3. Scroll down to the **Logs** section to see execution history.
Alternatively, view all automation logs:
1. In the sidebar, select **Integrations** > **Automations** > **Logs**.
### Log Details
Each log entry includes:
| Field | Description |
| -------------- | ----------------------------------------------------------- |
| Status | The execution result: Executed, Condition Failed, or Failed |
| Trigger | The event that triggered the automation |
| Subject | The record type and ID that triggered the event |
| Execution Time | How long the automation took to run (in milliseconds) |
| Executed At | When the automation ran |
Select a log entry to view detailed information:
* **Overview**: Status, timing, and error messages (if any)
* **Subject**: The triggering record details and the user who caused the event
* **Condition**: The expression evaluated and whether it passed
* **Context**: The full data context available to the automation
* **Action Result**: The payload sent or message created
### Log Statuses
| Status | Description |
| ---------------- | ---------------------------------------------------------------- |
| Executed | The automation ran successfully |
| Condition Failed | The condition expression evaluated to false; no action was taken |
| Failed | An error occurred during execution |
## Debugging Automations
When an automation doesn't work as expected, use these strategies to diagnose the issue.
### Check the Automation Is Enabled
Disabled automations do not run. Verify the **Enabled** toggle is active on the automation's settings page.
### Review Log Entries
1. Open the automation and check the **Logs** section.
2. Look for entries with **Failed** or **Condition Failed** status.
3. Select a log entry to view the error message and context.
### Test Your Condition
1. Edit the automation and go to the **2. Condition** tab.
2. Select **Test** to evaluate your expression against sample data.
3. Select **View Fields** to verify you're using the correct field paths.
### Verify Field Paths
Field paths are case-sensitive and must use array syntax in expressions. Use **View Fields** to see the exact structure of the context data, including:
* Property names (e.g., `model["name"]`, not `model["Name"]`)
* Nested relationships (e.g., `model["user"]["email"]`)
* Available fields for the selected trigger type
### Common Issues
**Condition always fails:**
* Verify the field path matches the actual data structure
* Check for typos in field names
* Ensure you're using the correct comparison operators
**Webhook not received:**
* Verify the webhook URL is correct and accessible
* Check that the target service is running
* Review the webhook configuration in **Integrations** > **Webhooks**
**Message not delivered:**
* Verify the notification channels are configured correctly
* Check the recipients expression returns valid user IDs
* Ensure users have the appropriate notification settings enabled
### Preview Templates
Before saving, preview your templates to catch errors:
1. For webhooks: Select **Preview** next to the payload template field
2. For messages: Select **Preview** next to the message content field
The preview shows your template rendered with sample data from the selected trigger.
## Best Practices
* **Use descriptive names**: Name automations clearly so their purpose is obvious (e.g., "Notify Discord on User Promotion")
* **Start with conditions**: Add conditions to prevent automations from running unnecessarily
* **Test before enabling**: Use the test and preview features to verify your expressions and templates
* **Monitor logs**: Regularly review automation logs to catch failures early
* **Use priority**: Set priority values to control execution order when multiple automations share triggers
* **Keep templates simple**: Complex templates are harder to debug; break complex workflows into multiple automations
# Forums
Source: https://docs.perscom.io/integrations/forums
Add forum capabilities to your PERSCOM community with Forumify.
PERSCOM partners with [Forumify](https://forumify.net) to provide a white-label forum integration. Forumify offers next-generation forum software with robust features to enhance community interaction and collaboration.
## Features
The Forumify PERSCOM plugin provides:
* Single sign-on (SSO) with your PERSCOM account
* Automatic rank and position synchronization
* Member roster integration
* Permission-based forum access
* And many more features...
## Get Started
Visit [Forumify](https://forumify.net) to learn more about their forum software, then install the official PERSCOM plugin.
View the official Forumify PERSCOM plugin on GitHub.
# Introduction
Source: https://docs.perscom.io/integrations/introduction
Integrate PERSCOM with third-party services using our APIs, SDKs, webhooks, and more.
PERSCOM provides multiple options for integrating your personnel data with external services:
* **API**: Access and manage your data programmatically
* **Automations**: Trigger actions automatically based on events
* **OAuth 2.0**: Enable secure authentication between applications
* **SDKs**: Build integrations faster with official libraries
* **Webhooks**: Receive real-time notifications when data changes
* **Widgets**: Embed personnel data displays on your website
Select an integration from the sidebar to learn more.
Many PERSCOM products and integrations are open source. If you're interested in software development, explore our repositories and contribute to the future of PERSCOM.
# OAuth 2.0
Source: https://docs.perscom.io/integrations/oauth
Enable secure authentication between your applications and PERSCOM.
OAuth 2.0 is an industry-standard authorization framework that allows third-party applications to access user data without requiring users to share their passwords. PERSCOM supports OAuth 2.0 and OpenID Connect (OIDC) for secure application integration.
## Use Cases
OAuth 2.0 enables you to:
* Build applications that authenticate users with their PERSCOM credentials
* Access the PERSCOM API on behalf of users
* Create single sign-on (SSO) experiences across your services
* Integrate PERSCOM with third-party platforms
## Client Types
PERSCOM supports four OAuth 2.0 grant types. Select the type that matches your application:
| Type | Use case |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| Regular Web Application | Server-side applications where users are redirected to authorize access. Uses the authorization code grant. |
| Single Page / Native Application | Client-side applications like SPAs or mobile apps. Uses the implicit grant. |
| Machine-to-Machine | Server applications that access resources without user involvement. Uses the client credentials grant. |
| Resource Owner | Trusted applications where users provide credentials directly. Uses the password grant. |
## Create An OAuth Client
1. In the sidebar, select **Integrations** > **Clients**.
2. Select **New client**.
3. Enter a **Name** to identify the client.
4. Select the **Type** that matches your application.
5. For web applications, enter the **Redirect URL** where users return after authorization.
6. (Optional) Enter a **Description** for the client.
7. Configure **Scopes** to limit what data the client can access, or select **All scopes** for full access.
8. Select **Create**.
After creating the client, you receive a **Client ID** and **Client Secret**. Store the client secret securely—it cannot be retrieved later.
> **Important:** Keep your client secret confidential. Never expose it in client-side code or public repositories.
## Endpoints
After creating a client, view the **Endpoints** tab to find the URLs for your integration:
| Endpoint | Description |
| ---------------------- | ------------------------------------------------------------ |
| Discovery Endpoint | OpenID Connect discovery document with configuration details |
| Authorization Endpoint | Redirect users here to begin the authorization flow |
| Token Endpoint | Exchange authorization codes for access tokens |
| Logout Endpoint | End user sessions |
| User Info Endpoint | Retrieve authenticated user information |
## Authorization Code Flow
For server-side web applications, use the authorization code flow:
1. Redirect users to the **Authorization Endpoint** with your client ID, redirect URI, and requested scopes.
2. Users authenticate with PERSCOM and approve access.
3. PERSCOM redirects users back to your redirect URI with an authorization code.
4. Exchange the authorization code for an access token at the **Token Endpoint**.
5. Use the access token to make API requests on behalf of the user.
## Scopes
Scopes limit what data and actions a client can access. When creating a client, you can select specific scopes or grant access to all scopes.
Common scopes include:
* `view:users` - Read user data
* `create:users` - Create new users
* `update:users` - Modify user data
* `delete:users` - Remove users
For a complete list of available scopes, see the scope selector when creating or editing a client.
## Revoke Access
To revoke a client's access:
1. In the sidebar, select **Integrations** > **Clients**.
2. Find the client and toggle the **Revoked** switch.
Revoking a client immediately invalidates all access tokens issued to that client.
# PHP
Source: https://docs.perscom.io/integrations/sdk/php
Build PERSCOM integrations with the official PHP SDK.
PERSCOM offers an official PHP SDK to help developers integrate with the PERSCOM API. The SDK provides a fluent interface for all API operations.
Explore the official PERSCOM PHP SDK repository.
## Installation
Install the SDK using Composer:
```bash theme={"system"}
composer require deschutesdesigngroupllc/perscom-php-sdk
```
## Getting Started
The SDK follows the same naming conventions as the PERSCOM API. The examples below demonstrate common operations that apply to all available resources.
```php theme={"system"}
// The following are examples on the user resource, but the same principles
// can be applied to any PERSCOM resource.
$perscom = new PerscomConnection('YOUR_API_KEY');
// Get a list of a specific resource
$response = $perscom->users()->all();
// Get a specific resource
$response = $perscom->users()->get(id: 1);
// Create a resource
$response = $perscom->users()->create(data: [
'name' => 'User 1',
'email' => 'user1@email.com'
]);
// Update a resource
$response = $perscom->users()->update(id: 1, data: [
'name' => 'User 1 New Name'
]);
// Delete a resource
$response = $perscom->users()->delete(id: 1);
// Search for a resource
$response = $perscom->users()->search(
value: 'foobar',
sort: new SortObject('first_name', 'asc'),
filter: new FilterObject('created_at', '<', '2024-01-01')
);
// Batch create a resource
$response = $perscom->users()->batchCreate([
new ResourceObject(data: [
'name' => 'User 1',
'email' => 'user1@email.com'
]),
new ResourceObject(data: [
'name' => 'User 2',
'email' => 'user2@email.com'
])
]);
// Batch update a resource
$response = $perscom->users()->batchUpdate([
new ResourceObject(id: 1, data: [
'name' => 'User 1 New Name'
]),
new ResourceObject(id: 2, data: [
'name' => 'User 2 New Name'
])
]);
// Batch delete a resource
$response = $perscom->users()->batchDelete([
new ResourceObject(id: 1),
new ResourceObject(id: 2)
]);
// Uploading an attachment
$response = $perscom->users()->attachments(id: 1)->create(data: [
'name' => 'Attachment 1',
'file' => fopen('/../file.pdf', 'r')
]);
// Other examples
$response = $perscom->users()->profile_photo(id: 1)->create(filePath: 'image.jpg');
$response = $perscom->users()->assignment_records(id: 1)->delete();
// Parse the response into a usable array
$data = $response->json();
```
## Error Handling
The PERSCOM SDK throws exceptions when an API error occurs. Catch these exceptions with a standard `try/catch` block. For a more elegant approach, consider using the [promise-based](#promise-support) approach.
```php theme={"system"}
try {
$perscom = new PerscomConnection('YOUR_API_KEY');
$response = $perscom->users()->all()->json();
} catch (AuthenticationException $exception) {
Log::error('The provided API key is invalid');
}
```
## Promise Support
The PERSCOM SDK supports asynchronous requests using a promise-based approach. This allows you to handle successful and failed requests more fluently.
```php theme={"system"}
// Create a PERSCOM instance
$perscom = new PerscomConnection('YOUR_API_KEY');
// Create a promise
$promise = $perscom->sendAsync(new GetAllUsersRequest());
// Send the request
$promise
->then(function (Response $response) {
// Handle successful response
})
->otherwise(function (RequestException $exception) {
// Handle failed request
});
// Resolve the promise
$promise->wait();
```
# Discord
Source: https://docs.perscom.io/integrations/third-party/discord
Integrate PERSCOM with your Discord server for notifications and authentication.
PERSCOM integrates with Discord to provide single sign-on (SSO) authentication and send notifications directly to your Discord server and users.
## Features
* **Single sign-on**: Users can log in to PERSCOM with their Discord account
* **Public notifications**: Post announcements to a Discord channel
* **Private notifications**: Send direct messages to users via Discord DM
## Login With Discord
No configuration is required for Discord login. Users can authenticate with their Discord account immediately from the PERSCOM login page.
## Configure Notifications
Set up Discord notifications to keep your community informed about PERSCOM events.
1. In the sidebar, select **Settings** > **Integrations**.
2. Select the **Discord** tab.
3. Select **Enable** to turn on Discord integration.
4. Select the **+** button next to the server dropdown.
5. Follow the prompts to authorize the PERSCOM Bot on your Discord server.
After adding the bot, select a Discord channel from the dropdown. PERSCOM posts public notifications to this channel. Private notifications are sent directly to users via Discord DM.
1. In the sidebar, select **Settings** > **Notifications**.
2. Enable **Discord** for each notification type you want to send.
3. Select **Private** for direct messages or **Public** for channel posts.
## Notification Types
PERSCOM can send Discord notifications for various events:
* User account changes
* Award and rank assignments
* Form submissions
* Calendar events
* And more
Configure which events trigger Discord notifications in **Settings** > **Notifications**.
# Google
Source: https://docs.perscom.io/integrations/third-party/google
Allow users to log in to PERSCOM with their Google account.
PERSCOM supports single sign-on (SSO) with Google, allowing users to authenticate using their Google account credentials.
## Features
* **Single sign-on**: Users can log in with their Google account
* **No configuration required**: Google login works immediately
* **Secure authentication**: Leverages Google's OAuth 2.0 infrastructure
## Login With Google
Google login is enabled by default. Users can select **Sign in with Google** on the PERSCOM login page to authenticate with their Google account.
No administrator configuration is required to enable this feature.
# Webhooks
Source: https://docs.perscom.io/integrations/webhooks
Receive real-time notifications when data changes in PERSCOM.
Webhooks send HTTP requests to external URLs when events occur in PERSCOM. Use webhooks to integrate with messaging platforms like Slack, Telegram, or Discord, sync data with external databases, or trigger custom workflows in your applications.
## Use Cases
Webhooks enable you to:
* Send notifications to Discord or Slack when users are created or updated
* Sync personnel changes to external databases like Firebase or AWS
* Trigger custom reporting tools when records change
* Build real-time dashboards that reflect PERSCOM data
## Create A Webhook
1. In the sidebar, select **Integrations** > **Webhooks**.
2. Select **New webhook**.
3. Enter a **Name** to identify the webhook.
4. Enter the **URL** that receives webhook requests.
5. Select the **Method** (`GET` or `POST`).
6. Enter a **Secret** to sign requests for verification.
7. Select the **Events** that trigger this webhook.
8. Select **Create**.
## Request Verification
Each webhook request includes a `Signature` header containing an HMAC signature. Use this signature to verify that requests originate from PERSCOM and haven't been tampered with.
To verify a request:
1. Extract the `Signature` header from the incoming request.
2. Compute an HMAC-SHA256 hash of the request body using your webhook secret.
3. Compare your computed signature with the `Signature` header.
## Events
Webhooks can subscribe to any of the following events:
| Event | Description |
| -------------- | ---------------------- |
| `user.created` | A new user was created |
| `user.updated` | A user was updated |
| `user.deleted` | A user was deleted |
| Event | Description |
| ----------------------------- | ---------------------------------- |
| `assignmentrecord.created` | An assignment record was created |
| `assignmentrecord.updated` | An assignment record was updated |
| `assignmentrecord.deleted` | An assignment record was deleted |
| `awardrecord.created` | An award record was created |
| `awardrecord.updated` | An award record was updated |
| `awardrecord.deleted` | An award record was deleted |
| `combatrecord.created` | A combat record was created |
| `combatrecord.updated` | A combat record was updated |
| `combatrecord.deleted` | A combat record was deleted |
| `qualificationrecord.created` | A qualification record was created |
| `qualificationrecord.updated` | A qualification record was updated |
| `qualificationrecord.deleted` | A qualification record was deleted |
| `rankrecord.created` | A rank record was created |
| `rankrecord.updated` | A rank record was updated |
| `rankrecord.deleted` | A rank record was deleted |
| `servicerecord.created` | A service record was created |
| `servicerecord.updated` | A service record was updated |
| `servicerecord.deleted` | A service record was deleted |
| Event | Description |
| ------------------ | ---------------------- |
| `calendar.created` | A calendar was created |
| `calendar.updated` | A calendar was updated |
| `calendar.deleted` | A calendar was deleted |
| `event.created` | An event was created |
| `event.updated` | An event was updated |
| `event.deleted` | An event was deleted |
| Event | Description |
| ----------------- | --------------------- |
| `message.created` | A message was created |
| `message.updated` | A message was updated |
| `message.deleted` | A message was deleted |
| Event | Description |
| -------------------- | ----------------------------- |
| `submission.created` | A form submission was created |
| `submission.updated` | A form submission was updated |
| `submission.deleted` | A form submission was deleted |
| Event | Description |
| -------------- | ---------------------------------------------- |
| `webhook.test` | Test event for verifying webhook configuration |
## Webhook Logs
PERSCOM logs all webhook requests for debugging purposes. To view logs:
1. In the sidebar, select **Integrations** > **Webhooks**.
2. Select a webhook to view its details.
3. Review the **Logs** section to see request history, including status codes and response times.
## Automations
For more advanced webhook workflows with conditional logic and custom payloads, see [Automations](/integrations/automations). Automations allow you to:
* Add conditions to control when webhooks fire
* Customize the JSON payload sent to external services
* Use Twig templates for dynamic content
# Widgets
Source: https://docs.perscom.io/integrations/widgets
Embed PERSCOM data displays on any website.
Widgets display your PERSCOM organizational data on external websites. Each widget is an HTML snippet that renders a visual component such as a roster, calendar, or awards list.
## Preview Widgets
Preview widgets before adding them to your website:
1. In the sidebar, select **Integrations** > **Widgets**.
2. Select **Choose Widget** to switch between available widgets.
3. Use **Get Widget Code** to generate the embed code.
## Installation
Copy and paste the HTML snippet below into your website. Replace `APIKEY` with your API key and set the `data-widget` attribute to the [widget ID](#available-widgets) you want to display.
```html Roster {4-5} theme={"system"}
```
```html Awards {4-5} theme={"system"}
```
```html Calendar {4-5} theme={"system"}
```
```html Forms {4-5} theme={"system"}
```
```html Positions {4-5} theme={"system"}
```
```html Qualifications {4-5} theme={"system"}
```
```html Specialties {4-5} theme={"system"}
```
```html Ranks {4-5} theme={"system"}
```
To avoid leaking sensitive data, it is recommended to create an API key with only `view` permissions. Your API key will be publicly accessible.
## Available Widgets
The following widgets are currently available. Each widget is identified by a widget ID passed to the `data-widget` attribute.
1. Roster `data-widget='roster'`
2. Awards `data-widget='awards'`
3. Calendar `data-widget='calendar'`
4. Forms `data-widget='forms'`
5. Positions `data-widget='positions'`
6. Qualifications `data-widget='qualifications'`
7. Specialties `data-widget='specialties'`
8. Ranks `data-widget='ranks'`
## Options
Widgets can be customized by providing additional `data` attributes. Below are the list of available configurable options:
| Option | Type | Default | Description |
| :-------------- | :----- | :------ | :------------------------------------------------------------------------ |
| `data-dark` | bool | false | Enables dark mode support for the widget. |
| `data-resource` | string | | Returns a specific resource for the widget using the provided identifier. |
## Specific Resources
A few widgets support the ability to provide an identifier to retrieve a specific resource. For example, you may want to display a specific form in your website. By providing the `data-resource` attribute, you can retrieve a specific form.
**Supported Widgets:** Forms
```html Ranks {6} theme={"system"}
```
## Advanced Usage
The following examples demonstrate advanced widget integration techniques for developers.
### Alpine.js Integration
[Alpine.js](https://alpinejs.dev/) provides a lightweight way to add dynamic behavior to your HTML. Use Alpine to conditionally configure widgets based on your page state.
This example detects dark mode on the parent page and enables dark mode on the widget:
```js theme={"system"}
```
### Programmatic Navigation
Navigate the widget to a different view by dispatching a browser event. The widget iframe listens for these events and updates its content accordingly.
```js theme={"system"}
document.addEventListener("DOMContentLoaded", () => {
window.parent.postMessage({
type: 'widget:navigate',
path: 'roster' // The widget ID. This will translate to the iframe URL being: https://api.perscom.io/v2/widgets/{path}
}, '*')
});
```