Get organization by name

:warning: noob alert :warning:

Hi there,

I’m aware of the endpoint GET /v1/organizations/search - however, being a noob and finding no worked example anywhere, I just can’t seem to figure it out.

So, I put it to anyone kind enough to answer:

How do I get an Org ID by the Org’s name?

Many, many thanks,

Hi @Michael_Fratta,

What kind of a worked example are you looking for?
Also, how are you making your API calls? Are you using Postman? :slightly_smiling_face:

For this particular endpoint, the search term you use has to contain a minimum of 2 characters.
I just ran this endpoint and used 2 characters “ca” to run my search. These are the results I got along with ID of the company:

I hope this helps?

1 Like

Hi @Nicole_Tan
So sorry for the late response - Gmail marked this as spam :man_facepalming:t5:
I’m using a mix of web browser, Jupyter Notebook (Python) and VS Code, actually; but - your example is all I needed, as I can see an example of the URL call in the GET request: which is exactly what I was looking for! :sparkles:
Thank you so very much! :pray:t5:

1 Like

Hi @Michael_Fratta, good you checked your spam then! :grin:
You’re most welcome. I’m glad you got what you’re looking for. :v:

1 Like