---
updatedAt: 2026-08-05T08:07:06.000Z
---

# Get an event

```curl cURL
eventId=1

egcurl --eg-section default --request GET \
  --url "https://$hostname/events/v3/events/$eventId" \
  --header "Accept: application/json" 
```

```node Node
const EdgeGrid = require("akamai-edgegrid");
const os = require("os");
const edgercPath = os.homedir + "/.edgerc.txt";
const edgercSection = "default";
const eg = new EdgeGrid({
  path: edgercPath,
  section: edgercSection,
});

const eventId = 1;

eg.auth({
  path: `/events/v3/events/${eventId}`,
  method: "GET",
  headers: {
    Accept: "application/json",
  },
});
eg.send(function (error, response, body) {
  console.log(JSON.stringify(JSON.parse(body), null, 2));
});
```

```python Python
import requests
import json
from akamai.edgegrid import EdgeGridAuth, EdgeRc
from urlparse import urljoin

edgerc = EdgeRc('~/.edgerc.txt')
section = 'default'
baseurl = 'https://%s' % edgerc.get(section, 'host')

session = requests.Session()
session.auth = EdgeGridAuth.from_edgerc(edgerc, section)
eventId = 1
 

path = '/events/v3/events/{}'.format(eventId)
headers = {
  
  "Accept": "application/json"}  

result = session.get(urljoin(baseurl, path), headers=headers)
print(result.status_code)
print(json.dumps(result.json(), indent=2)) 
```

```json Response Example
{
  "id": 1,
  "version": 0,
  "name": "2022 Winter Olympics",
  "description": "MMXXIII Olympic Winter Games 2022",
  "customerEventId": "mmxxiii-owg",
  "start": "2022-02-08T08:00:00Z",
  "end": "2022-02-08T20:00:00Z",
  "audienceSize": 5000000,
  "createdDate": "2021-11-28T16:41:41Z",
  "createdBy": "jsmith",
  "modifiedDate": "2021-12-28T16:41:41Z",
  "modifiedBy": "hgildong",
  "audienceLocations": [
    {
      "code": "PL",
      "name": "Poland"
    },
    {
      "code": "DE",
      "name": "Germany"
    }
  ],
  "coordinators": [
    {
      "userName": "mrossi",
      "firstName": "Vigilant",
      "lastName": "Snyder"
    },
    {
      "userName": "tyamada",
      "firstName": "Taro",
      "lastName": "Yamada"
    }
  ],
  "tags": [
    {
      "id": 1,
      "name": "winter"
    },
    {
      "id": 2,
      "name": "olympics"
    }
  ],
  "objects": [
    {
      "id": 87654,
			"type": "CP_CODE",
      "name": "olympics-open.com/winter"
    },
    {
      "id": 812345,
			"type": "CP_CODE",
      "name": "open-olympics.com/all"
    }
  ]
}

```

# Set up authorization

<!-- curl@ -->
<!-- node@ -->

Before you can use this API, you need to [Create authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials). 

Then, you can use these code samples to apply the token values to your requests.

# Fetch an event

<!-- curl@1 -->
<!-- node@10 -->
<!-- python@12 -->

You first need an `eventId`, which you can get from the [List events](https://techdocs.akamai.com/event-ctr/reference/get-events) operation.

# Form the URL

<!-- curl@4 -->
<!-- node@13 -->
<!-- python@15 -->

Inject the `eventId` value into the URL template.

# Call the API

<!-- curl@1-100 -->
<!-- node@1-100 -->
<!-- python@1-100 -->

Call GET on the request URL.

# Get the response

<!-- curl@ -->
<!-- node@ -->

The response includes a full event object.