---
updatedAt: 2026-03-01T18:56:39.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/mpulse/llms.txt
---

# Create an annotation

```c cURL
curl --request POST \
     --url https://mpulse.soasta.com/concerto/mpulse/api/annotations/v1 \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'X-Auth-Token: f373b8e8-bf4a-4473-801a-b5d9b6b0ae5a' \
     --data '
{
     "title": "Firewall Firmware Upgrade",
     "start": 1473720858000,
     "text": "Firewall upgrade started - to V2.6.8"
}
'
```

```node Node
const sdk = require('api')('@mpulse/v1#1i5odywekziffrwa');

sdk['post-annotation']({
  title: 'Firewall Firmware Upgrade',
  start: 1473720858000,
  text: 'Firewall upgrade started - to V2.6.8'
}, {
  'X-Auth-Token': 'f373b8e8-bf4a-4473-801a-b5d9b6b0ae5a'
})
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

```python Python
import requests

url = "https://mpulse.soasta.com/concerto/mpulse/api/annotations/v1"

payload = {
    "title": "Firewall Firmware Upgrade",
    "start": 1473720858000,
    "text": "Firewall upgrade started - to V2.6.8"
}
headers = {
    "Accept": "application/json",
    "X-Auth-Token": "f373b8e8-bf4a-4473-801a-b5d9b6b0ae5a",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

```json Response Example
{
  "id": 469
}
```

# Get a token

<!-- c@5 -->
<!-- node@8 -->
<!-- python@12 -->

All calls to this API require that you pass in the token you get from the [Generate a token](https://techdocs.akamai.com/mpulse/reference/put-token) operation as an X-Auth-Token request header. See [Get started](https://techdocs.akamai.com/mpulse/reference/get-started) for help to initially call the API or see [Generate a token recipe](https://techdocs.akamai.com/mpulse/recipes/generate-a-token).

# Specify the title

<!-- c@8 -->
<!-- node@4 -->
<!-- python@6 -->

The name of the annotation.

# Specify the start integer

<!-- c@9 -->
<!-- node@5 -->
<!-- python@7 -->

Start time of the annotation. It's a UTC epoch timestamp expressed in milliseconds.

# Specify the text of the annotation

<!-- c@10 -->
<!-- node@6 -->
<!-- python@8 -->

Description of the annotation.

# Call the API

<!-- c@1-12 -->
<!-- node@3 -->
<!-- python@1-18 -->

Call POST on the request URL, providing the body request object.

# Get the response

<!-- c@13-15 -->
<!-- node@12-14 -->
<!-- python@19-21 -->

The response contains the new annotation ID.