# Complete an appointment **POST /appointments/{id}/_actions/complete** Complete an appointment ## Servers - https://api.development.pexipengage.com/enterprises/acme: https://api.development.pexipengage.com/enterprises/acme () ## Authentication methods - O auth2 ## Parameters #### Headers - **Authorization** (string) Bearer token used for authorization - **X-Correlation-Id** (string) Unique identifier to allow referencing a particular transaction or event chain - **Accept-Language** (string) Returns the requested resources translated according to the passed languages (see [translatable resources](../topic/topic-languages-translations\#topic-translatable-resources)) #### Path parameters - **id** (string) Primary identifier of the requested resource ## Body parameters Content-type: application/json - **start** (string(date-time) | null) - **end** (string(date-time) | null) - **answers** (array[object] | null) - **noShow** (boolean | null) - **userCommunication** (object | null) ## Responses ### 200: Successful operation #### Body Parameters: application/json (object) - **data** (object) ### 404: Resource not found #### Body Parameters: application/json (object) - **errors** (array[object]) ### 422: Business validation failed * `ANSWER_SELECTED_OPTIONS_FOR_NON_SELECTION_TYPE` * `ANSWER_VALUE_FOR_SELECTION_TYPE` * `APPOINTMENT_COMPLETION_TOO_EARLY` * `APPOINTMENT_START_AFTER_END` * `APPOINTMENT_STATUS_INVALID` See [Error codes](#topic-error-codes) #### Body Parameters: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)