Appearance
Webhook Events
Webhooks are categorised by the entity they represent. It is possible to subscribe to an entire category using a wildcard, e.g. record.*, client.*, case.*. Be aware that any new events added will be included in this group so your service must be able to account for them.
To subscribe to all categories, use the wildcard event *. As with category wildcards, any new categories will be included as they are added.
Client events
Changes to clients (also referred to as "People", to differentiate them from "Organisations") can be tracked using webhooks, too. Similarly to record webhooks, full client information is only available via an authenticated API call.
Available Webhooks
| Type | Description |
|---|---|
client.created | Triggered when a client is created. |
client.deleted | Triggered when a client is deleted. Note that the payload data will only include the client ID. |
client.deletion_reminder_deleted | Triggered when a client's deletion reminder is deleted. |
client.deletion_reminder_due | Triggered when a client's deletion reminder is due that day. |
client.deletion_reminder_updated | Triggered when a client's deletion reminder is either created or updated. |
client.organisations | Triggered when a client's relationship to an organisation changes e.g. added to or removed from an organisation. |
client.record | Triggered when a client receives a new request. |
client.status | Triggered when a client's status changed. |
client.updated | Triggered when a client's details were updated. |
client.archived | Triggered when a client was archived by a team member. |
client.unarchived | Triggered when a client was unarchived by a team member. |
Event Data
| Path | Description |
|---|---|
data.client.id | The unique identifier for the client. |
data.client.show | API endpoint to retrieve the client. |
All client webhooks share the same payload with the exception of:
client.deletedwhich only containsdata.client.id; andclient.recordwhich contains additional record specific properties (data.record.id,data.record.show,data.record.download).
Case events
Changes to cases can be tracked using webhooks.
Available Webhooks
| Type | Description |
|---|---|
case.approved | Triggered when a case is approved. |
case.archived | Triggered when a case is archived. |
case.created | Triggered when a new case is created. |
case.item_added | Triggered when a request is added to a case. |
case.item_removed | Triggered when a request is removed from a case. |
case.rejected | Triggered when a case is rejected. |
case.status | Triggered when a case status is updated. |
case.unarchived | Triggered when an archived case is unarchived. |
case.updated | Triggered when a case's name or reference is updated. |
Event Data
| Path | Description |
|---|---|
data.case.id | The unique identifier for the case. |
data.case.show | API endpoint to retrieve the case. |
data.client.id | The unique identifier for the client associated with the case. |
data.client.show | API endpoint to retrieve the client. |
Record events
The lifecycle of a record within Amiqus can be followed closely using webhooks. A record's subject may be either a client (person) or an organisation; the data.record.type property indicates which. Some webhooks are only triggered by client records. While the record's information will only be available via an authenticated API call, there are plenty of events that will allow you to infer its progression.
Available Webhooks
| Type | Description |
|---|---|
record.created | Triggered when a record is created. |
record.updated | Triggered when a record or any of its steps are updated, including check steps being submitted by the client or when a check step is processed. |
record.finished | Triggered when a record status changes to a "terminal" state, e.g. it expired, was completed or fails without the possibility of retry. All steps have either; been completed and have finished processing; the client failed to complete them in time; or that there was a technical error preventing the record from ever being completed. |
record.bounced | Client records only. Triggered when a record created email message bounces. This is a useful prompt to check and resend the record via the Amiqus request page or to notify the client directly. |
record.reviewed | Triggered when a team member manually marks a record as having been reviewed. This is a decisive event, assuming no further action will be taken on the record unless it is unreviewed. |
record.unreviewed | Triggered when a member of the team manually marks a record no longer being reviewed. |
Event Data
Client record
| Path | Description |
|---|---|
data.record.id | The unique identifier for the record. |
data.record.type | The subject of the record (client). |
data.record.show | API endpoint to retrieve the record. |
data.record.download | API endpoint to download the record as a PDF. |
data.client.id | The unique identifier for the client which the record was sent to. |
data.client.show | API endpoint to retrieve the client. |
data.case.id | The unique identifier for the case the record is associated to. Nullable as not all records belong to a case. |
data.case.show | API endpoint to retrieve the case. Nullable as not all records belong to a case. |
Organisation record
| Path | Description |
|---|---|
data.record.id | The unique identifier for the record. |
data.record.type | The subject of the record (organisation). |
data.organisation.id | The unique identifier for the organisation the record was sent to. |
data.organisation.show | API endpoint to retrieve the organisation. |
Client form events
Client forms are associated with a client either having been attached directly or as a record step. Direct client forms can only be completed by team members, record step forms are typically completed by the client as part of a request but can be completed by a team member on their behalf.
Once a form template is attached to a client, there is no longer any association between them. Changes made to the form template do not affect client forms and vice versa.
Available Webhooks
| Type | Description |
|---|---|
form.attached | Triggered when a form is added to a client directly, not as a record step. Typically used for internal data collection. |
form.deleted | Triggered when a client form is deleted. Note that forms sent as a record step cannot be deleted, and deleting a form template does not delete a client form. |
form.modified | Triggered when a client form is modified (title or description changed, fields added or removed, etc). Note that forms sent as a record step cannot be modified, and changes form templates have no affect. |
form.sent | Triggered when a form is sent to a client as a record step. |
form.submitted | Triggered when a form sent to a client as a record step was submitted by the client. |
form.updated | Triggered when a form has its answers or flags updated. This is triggered by both direct client forms and record step forms. Record step forms trigger after submission by the client and direct client forms each time a field is updated. Flagged fields for both types of forms will also trigger this event. This event can trigger several times. |
Event Data
| Path | Description |
|---|---|
data.form.reference | The unique identifier (UUID) for the form. |
data.form.show | API endpoint to retrieve the form. |
data.client.id | The unique identifier for the client the form is associated to. |
data.client.show | API endpoint to retrieve the client. |
The payload for form.deleted will not contain data.client.id or data.client.show.
Client forms sent as a record step include additional data about the record.
| Path | Description |
|---|---|
data.record.id | The unique identifier for the record. |
data.record.show | API endpoint to retrieve the record. |
data.record.download | API endpoint to download the record as a PDF. |
data.case.id | The unique identifier for the case the form is associated to. Nullable as not all forms belong to a case. |
data.case.show | API endpoint to retrieve the case. Nullable as not all forms belong to a case. |
The payload for form.sent will not contain data.case.id or data.case.show.
Watchlist events
Watchlist continual monitoring results are updates that can be tracked via the watchlist.updated webhook alias. Full information about a watchlist check will only be available via an authenticated API call (for records only, full check information for organisations can be accessed by Amiqus UI).
Available Webhook
| Type | Description |
|---|---|
watchlist.updated | Triggered when Watchlist continual monitoring results are updated for a record or an organisation. |
Event Data
Client record:
| Path | Description |
|---|---|
data.record.id | The unique identifier for the record. |
data.record.type | The subject of the record (client). |
data.record.show | API endpoint to retrieve the record. |
data.record.download | API endpoint to download the record as a PDF. |
data.client.id | The unique identifier for the client which the record was sent to. |
data.client.show | API endpoint to retrieve the client. |
data.case.id | The unique identifier for the case the record is associated to. Nullable as not all records belong to a case. |
data.case.show | API endpoint to retrieve the case. Nullable as not all records belong to a case. |
Organisation record:
| Path | Description |
|---|---|
data.record.id | The unique identifier for the record. |
data.record.type | The subject of the record (organisation). |
data.organisation.id | The unique identifier for the organisation the record was sent to. |
data.organisation.show | API endpoint to retrieve the organisation. |