# https://api.hubapi.com/email/public/v1/events/:created/:id throws error

**URL:** <https://community.hubspot.com/t/https-api-hubapi-com-email-public-v1-events-created-id-throws-error/69510>\
**Category:** APIs & Integrations\
**Created:** [November 17, 2022, 8:54pm UTC](https://community.hubspot.com/t/https-api-hubapi-com-email-public-v1-events-created-id-throws-error/69510 "2022-11-17T20:54:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJain60](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@AJain60](https://community.hubspot.com/u/AJain60)\
**Post date:** [November 17, 2022, 8:54pm UTC](https://community.hubspot.com/t/https-api-hubapi-com-email-public-v1-events-created-id-throws-error/69510/1 "2022-11-17T20:54:13Z")

</div>

Hello all,

I am trying to get the list of the email recepients using the hubspot evets api.

[https://api.hubapi.com/email/public/v1/events/:created/:id](https://api.hubapi.com/email/public/v1/events/:created/:id)

I tried passing the auto generated id on id field eg:

This would be the URL [https://app.hubspot.com/email/20329755/details/91641083960/performance](https://app.hubspot.com/email/20329755/details/91641083960/performance) which means the ID is going to be 91641083960

I get the following error in response:

{

```
"status": "error",

"message": "Path parameter 'id' must be a valid UUID.",

"correlationId": "8fb164ef-87c0-4b6e-a2dc-4cc8ac186791"

```

}

Is it expecting another id or in a different format?

Is there a better api endpoint to retrieve the list of email recepeints ?

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [November 25, 2022, 9:47am UTC](https://community.hubspot.com/t/https-api-hubapi-com-email-public-v1-events-created-id-throws-error/69510/2 "2022-11-25T09:47:27Z")

</div>

Hi @AJain60

Thank you for reaching out.

I want to tag some of our experts here - @coldrickjack @LMeert do you have any thoughts for @AJain60 on this?

Thank you!

Best

Tiphaine
