# email containing a / and subscriptions v1 api

**URL:** <https://community.hubspot.com/t/email-containing-a-and-subscriptions-v1-api/67156>\
**Category:** APIs & Integrations\
**Created:** [October 14, 2022, 3:07pm UTC](https://community.hubspot.com/t/email-containing-a-and-subscriptions-v1-api/67156 "2022-10-14T15:07:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpiola](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rpiola/32/78078_2.png) [@rpiola](https://community.hubspot.com/u/rpiola)\
**Post date:** [October 14, 2022, 3:07pm UTC](https://community.hubspot.com/t/email-containing-a-and-subscriptions-v1-api/67156/1 "2022-10-14T15:07:16Z")

</div>

Hello. I’m encountering an issue:

I have a contact with an email containing a slash:

xxx/yyy@zzzzz.com

(yes, it is not common, but according to [https://en.wikipedia.org/wiki/Email\_address#Local-part](https://en.wikipedia.org/wiki/Email_address#Local-part) it is perfectly valid).

I was able to create the contact in hubspot.

however, when I try to get its bounce status with a GET

[https://api.hubapi.com/email/public/v1/subscriptions/xxx/yyy@zzzzz.com](https://api.hubapi.com/email/public/v1/subscriptions/ipr/department@brembo.it?hapikey=)

I receive a 404 error sounding like “xxx is not an API endpoint”

The API get with emails without slash works perfectly.

Is there a way to escape the slash, or maybe a v3 api allowing the passing of the email in a json payload?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 14, 2022, 5:41pm UTC](https://community.hubspot.com/t/email-containing-a-and-subscriptions-v1-api/67156/2 "2022-10-14T17:41:50Z")

</div>

Hey, @rpiola 👋 Thanks for the fascinating question! Additionally, the Wikipedia article was helpful 🙌 I’ll need to reach out to my resources to see about solutions in this case.

One quick question, have you tried using

`%2`

as an escape for the slash?

Hey, @JBeatty @nikodev @ChrisoKlepke, any thoughts here? Do you like Friday mysteries?🕵‍

@rpiola, I’ll follow up here with any additional details I find.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![ChrisoKlepke](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrisoklepke/32/11213_2.png) [@ChrisoKlepke](https://community.hubspot.com/u/ChrisoKlepke)\
**Post date:** [October 17, 2022, 7:28am UTC](https://community.hubspot.com/t/email-containing-a-and-subscriptions-v1-api/67156/3 "2022-10-17T07:28:13Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074), thank you for tagging me on this.

Hey @rpiola,

Thank you for mentioning this, as I was not aware that emails like this are possible. But that’s the great thing about the community. You always learn something.

In short: You might want to use _%2F_ instead of the slash. So for example

`steve%2Frogers@avengers.com`

I don’t have much experience with the specific endpoint you’re working with, as it is a bit older, I think. However, I’ve tested some requests that way, and it works just fine on any other endpoints, so I see no reason why it shouldn’t work on yours.

If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I’d really appreciate it.

Cheers,

Chriso

---

<div class="post-metadata">

**Author:** ![rpiola](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rpiola/32/78078_2.png) [@rpiola](https://community.hubspot.com/u/rpiola)\
**Post date:** [October 17, 2022, 11:12am UTC](https://community.hubspot.com/t/email-containing-a-and-subscriptions-v1-api/67156/4 "2022-10-17T11:12:18Z")

</div>

Great. It works!
