What is ORGANIZATION_SLUG in REST API?

Hello, I am trying to integrate releases reporting through REST API according to https://blog.sentry.io/2017/05/09/release-deploys?_ga=2.109977415.375411808.1527791125-207770292.1527514751

I do not know precisely where to get the org. slug. I cannot find it anywhere in the docs nor anywhere in my settings. When I use the org. name which is the same I see in URL in the normal UI, I am refused with HTTP 404.

What can be wrong?

Btw. I noticed many questions asking about what the SLUG is - why don’t you simply add it to some page in settings?

upload completely sent off: 99 out of 99 bytes
< HTTP/1.1 404 NOT FOUND
< Server: nginx
< Date: Thu, 31 May 2018 18:37:45 GMT
< Content-Type: application/json
< Content-Length: 14
< Connection: keep-alive
< X-XSS-Protection: 1; mode=block
< Content-Language: en
< X-Content-Type-Options: nosniff
< Vary: Accept-Language, Cookie
< Allow: GET, POST, HEAD, OPTIONS
< X-Frame-Options: deny
< X-Served-By: web-ee8f0660
< Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
<

  • Curl_http_done: called premature == 0
  • Connection #0 to host sentry.io left intact

Its your organization’s short name/id (I think called name in sentry 9):

https://sentry.io/:org-slug/

Hmmm, I tried that exactly and got 404 with no additional explanation from the server :frowning:

Ok, I managed to make it work. I did not have the release created. It is not that obvious from the article I linked that this needs to be done first…

This would be a cool thing to put in the documentation.