Skip to main content

Delete Wrap-up time

Aircall offers a feature that enables users to set a wrap-up time after calls, allowing them to become unavailable for a pre-defined period of time to qualify the call.

To become available again, before the period expires, you can utilize the API.DELETE_WRAPUP_TIME event.

{
"type": "API.DELETE_WRAPUP_TIME"
}

Usage

Successful fetch

When everything goes fine, you will receive a API.DELETE_WRAPUP_TIME_FULFILLED event:

{
"type": "API.DELETE_WRAPUP_TIME_FULFILLED"
}

This event doesn't return any payload.

Something went wrong

If something bad happens, you will receive a API.DELETE_WRAPUP_TIME_DELETED event:

{
"type": "API.DELETE_WRAPUP_TIME_DELETED",
"payload": {
"error": "Error"
}
}

The error here, will correspond to whatever the backend service returns.