---
id: communications-notification-close
title: Close the notifications of a thread
description: >-
  Closes every open notification in your organization that was created with this
  `group_key`. Use it when the situation a thread announced is over, for example
  once an incident is resolved.
sidebar_label: Close the notifications of a thread
hide_title: true
hide_table_of_contents: true
api: >-
  eJztWFGP27gR/isDvuQO1Wp9aYLi9LbNJcgWSTfYdS4HuIt4TI0t3lKkjqTs9Rn+78WQkm3Z291FixY5oH6xLVHDbz7OfDOajQi48KKYiAtjbGsk1WSCF7eZKMlLp5qgrBGFeKOtJw+0JLcG25ABY4OaK4m8AJSBtW0dWLdAo35PF0OFAVboQTrCQCWsVKggVMrDdOFs23y9o/U0h8+eQAVYVcTPEHgV2mQBIVSOsATs0JWgPNgluQzm1gHdY91oAmskATIMqUoygVc58lYvqcz/YUQmbEMu2rwsRSGkrevWdOD92aErhWRPRSYc/daSD3+15VoUm/hXOSpFEVxLmZDWBDKBb2HT6O7p818907URXlZUI/8K64ZEIezsV5Khs5sMTcSOBSa8cQwyKPL82P7W3oYPTpmFyESN9x/ILEIlipej0fFZjSs6JDhyeuiihxU5GpxKLjLRkSkKgbKmvOeyUEaevRz9+QexjZ9MeJKtU2EtislGzAgduYuWsUxut7fsoG+s8cmNl6MRfw0BvrcrqNGsH0TF9JeM599meEhkMniwTplAC3LimLYdqpPwPoG2o+plz8mrX3459ZMPogsjkLbVpXkRYEbQOCvJsy14t4/iDBAadFhTIMcRrMwStSqzeIAczq2TBKUlz3boXvmQgXWceVBavlbhkqAhVyvvlTU5MIKZLddsDnnfmaYaSgqotIfEGHx3/e4N/Pjq9V++f4T27tk/PU3/kIOf4r8ZeVhFOeDsXDlrFpzBWtuVMovoYA/iBOXcuhpDfpQ6cddMBBU0f/uAofWnaZTAnWbQEOQFfL6+THoVY17NFfmI6k6ZEuy8B5XDZXjho9T061zGsQIIWpm7DNCUoHhNVDKsqdPMoGpK2tf7Z6VsnR9mXutMYVqtG42B/S7IOesKZ9tA/qwi3ZArurg4i8HixbZn4Rlu+sq6kEHV1mjOWFlxpg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EmR5M7VsYDF7l9iElym4mKE6uYiM1mhp4+O73d8uXUbReTW+55nUqaOrndZqIiLMnFrEph+yYRezZOpb5rkU9nUdusf+JCSmrCo2tvD3L/09XNmHOrmzDWsQgJhyvuNXAlChEHl8lTHkHytY3QaBZtFGWRbHIm4jCRjxI3etW/5pn1AcLNJq0Y2zsy263IOlcC/xfb2+12+0/BTs6D
sidebar_class_name: post api-method
info_path: docs/api/communications
custom_edit_url: null
canonical: 'https://docs.nullplatform.com/docs/api/communications-notification-close'
---
<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Close the notifications of a thread"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/communications/notification/close"}
  context={"endpoint"}
>

</MethodEndpoint>

Closes every open notification in your organization that was created with this `group_key`. Use it when the situation a thread announced is over, for example once an incident is resolved.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={undefined}
>

</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["group_key"],"properties":{"group_key":{"type":"string","maxLength":200,"description":"The `group_key` the notifications were created with.","example":"acme.incident:inc-2031"}}}}}}}
>

</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"How many notifications were closed.","content":{"application/json":{"schema":{"type":"object","properties":{"closed":{"type":"integer","description":"How many open notifications were closed.","example":2}}}}}},"4XX":{"description":"The request couldn't be processed. For example, a parameter is invalid, the resource doesn't exist, or you don't have permission. The body is a problem details object (RFC 9457).","content":{"application/problem+json":{"schema":{"type":"object","description":"Describes what went wrong, following the RFC 9457 problem details format.","required":["type","title","status"],"properties":{"type":{"type":"string","description":"A URI that identifies the kind of problem. It's an identifier, not a link, and it's the same every time this problem occurs.","example":"urn:nullplatform:error:routes-helper:invalid-params"},"title":{"type":"string","description":"A short, human-readable summary of the problem.","example":"There are invalid parameters on the request"},"status":{"type":"integer","description":"The HTTP status code of the response.","example":400},"code":{"type":"string","description":"A stable, machine-readable error code. Use it to handle specific errors in your integrations.","example":"ROUTES_HELPER.INVALID_PARAMS"},"detail":{"type":"string","nullable":true,"description":"More information about what went wrong in this request, when available.","example":null},"errors":{"type":"array","description":"One entry per invalid field or parameter. Only present on validation errors.","items":{"type":"object","properties":{"field":{"type":"string","description":"The name of the invalid field or parameter.","example":"application_id"},"in":{"type":"string","description":"Where the field was sent: `body`, `query`, or `params` (path parameters).","example":"query"},"issue":{"type":"string","description":"What's wrong with the field, such as `required` or `invalid`.","example":"invalid"},"value":{"description":"The value that was sent, when relevant.","example":"not-a-number"},"message":{"type":"string","description":"A human-readable explanation of the issue."}}}},"message":{"type":"string","deprecated":true,"description":"Same value as `title`, kept for backward compatibility. Use `title` or `code` instead.","example":"There are invalid parameters on the request"},"traceId":{"type":"string","description":"An identifier for this request, when available. Include it when you contact nullplatform support."}}}}}},"5XX":{"description":"Something went wrong on nullplatform's side. The body is a problem details object (RFC 9457).","content":{"application/problem+json":{"schema":{"type":"object","description":"Describes what went wrong, following the RFC 9457 problem details format.","required":["type","title","status"],"properties":{"type":{"type":"string","description":"A URI that identifies the kind of problem. It's an identifier, not a link, and it's the same every time this problem occurs.","example":"about:blank"},"title":{"type":"string","description":"A short, human-readable summary of the problem.","example":"Oops.. there was an internal error"},"status":{"type":"integer","description":"The HTTP status code of the response.","example":500},"code":{"type":"string","description":"A stable, machine-readable error code. Use it to handle specific errors in your integrations."},"detail":{"type":"string","nullable":true,"description":"More information about what went wrong in this request, when available.","example":null},"message":{"type":"string","deprecated":true,"description":"Same value as `title`, kept for backward compatibility. Use `title` or `code` instead.","example":"Oops.. there was an internal error"},"traceId":{"type":"string","description":"An identifier for this request, when available. Include it when you contact nullplatform support."}}}}}}}}
>

</StatusCodes>

