$ curl https://api.intercom.io/conversations/<id>/parts\n-X POST\n-H 'Authorization:Bearer <Your access token>'\n-H 'Accept:application/json'\n-H 'Content-Type:application/json' -d\n\n{ \n  \"message_type\": \"close\",\n  \"type\": \"admin\",\n  \"admin_id\": 5784329,\n  \"body\": \"Closed conversation because of X.\"\n}You can close a conversation.
| Parameter | Type | Required? | Description | 
|---|---|---|---|
| id | String | Yes | The identifier for the conversation as given by Intercom. | 
| Parameter | Type | Required? | Descripton | 
|---|---|---|---|
| message_type | String | Yes | Always close. | 
| type | String | Yes | Always admin. | 
| admin_id | String | Yes | The id of the admin who is performing the action. | 
| body | String | No | Optionally you can leave a message in the conversation to provide additional context to the user and other teammates. | 
This will return the Conversation that has been closed.