On-Call

Create On-Call Page comment

Changed on

Add a comment to the timeline of an On-Call Page.

post/api/v2/on-call/pages/{page_id}/comments

Request

  • Base URL
    https://api.datadoghq.com
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code/oauth2/v1/authorize
      Token URL/oauth2/v1/token

Path parameters

page_idstring required
Example:15e74b8b-f865-48d0-bcc5-453323ed2c8f

The ID of the Page, or its key.

Request body

Example request

{
  "data": {
    "attributes": {
      "body": "Investigating the database latency.",
      "mentioned_user_ids": [
        "00000000-0000-0000-0000-000000000001"
      ]
    },
    "id": "3c5f5b5e-3a3e-4f8c-9b1d-2f6a7e8d9c0b",
    "type": "comments"
  }
}

Response

No Content

Changes