> For the complete documentation index, see [llms.txt](https://docs.cubu.com/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cubu.com/guides/technical-guide/webhooks/webhooks-reference/service-webhooks/after-queue-up.md).

# After Queue-up

## Overview <a href="#overview" id="overview"></a>

This webhook is triggered once a case has been placed in the queue for a walk-in service.

<mark style="color:orange;background-color:yellow;">DEC 2024 B Release</mark>

## API <a href="#api" id="api"></a>

### URL <a href="#url" id="url"></a>

```
[base-url]/service/actions/afterClose
```

### Request Body <a href="#request-body" id="request-body"></a>

The webhook receives the following input:

* **caseId**: The case ID to be created.
* **parentCaseId:** The parent case ID (when applicable).
* **referenceDate**: The case’s reference date.
* **unitId**: The ID of the service’s parent unit.
* **serviceId**: The service used for creating the case.
* **serviceCategoryId:** Service category ID.
* **serviceTypeId:** Service type ID.
* **status:** The case’s target status (Pending/Waiting).
* **channel:** Communication channel (Face-to-face, Video, etc.).
* **language:** The preferred communication language.
* **ticket:** The ticket number
  * **prefix**
  * **number**
  * **suffix**
* **fields:** A Dictionary of `fieldTypeId` + `fieldValue` pairs.
* **tagIds:** An array of tag IDs (for future use).
* **customerRecordId**: The ID of the customer record linked to the case.
* **useCustomerContactInfo (bool):** Indicates whether the linked customer record's contact information (phone number and email) is used as this case's contact information.&#x20;
* **contactPhoneNumber**: The case's contact phone number&#x20;
* **contactEmail**: The case's contact email&#x20;
* **triggeredByUserId:** The ID of the user who triggered this action (when applicable). The value is `null` when a Kiosk or the S2S API triggers the operation.
* **triggeredByUserEmail:** The email address of the user who triggered this action (when applicable).
* **lockedByUserId**: When an active case is resolved, this field contains the user's ID to the user processing the case. This field is null if a case is resolved while waiting or pending.

### Response Body <a href="#response-body" id="response-body"></a>

This webhook does not return data.

&#x20;
