This returns a list of the organizations the authenticated user is a part of.
API URL (GET)
https://app.retrieverdigitalsignage.com/api/user/get-organizations
Authorization Header
Bearer TOKEN_HERE
(Example: Bearer 1|Tazc1INPh1ftqDWpI9bJUbugyuVzkvwNZaipp4yK367322f6)
Other Headers
Accept: application/json
Body
None
Example Call Using CURL
curl -X GET 'https://app.retrieverdigitalsignage.com/api/user/get-organizations' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer 1|Tazc1INPh1ftqDWpI9bJUbugyuVzkvwNZaipp4yK367322f6'
Example Response
{
"status": "success",
"teams": [
{
"id": "e8e3f2a0-03d3-11ef-bd14-ef27ebe01ca4",
"display_name": "Organization 1"
},
{
"id": "44858740-1deb-21eb-a24c-6feb9cb64c35",
"display_name": "Organization 2"
},
]
}