-
Notifications
You must be signed in to change notification settings - Fork 1
get all organizations
Pongstr edited this page Mar 24, 2022
·
1 revision
title: 'Get All Organizations' description: '' updated: '2022-03-13T01:07:11.692Z' group: 'Organizations' breadcrumb: ['Organizations'] author: 'RapidAPI'
By 'userId' or by 'slugifiedName'
Note: Current example is searching by userId that exists only on Staging and using specific RAPID_KEY_HEADER
Request Headers
X-RapidAPI-Key: 4bc81dca6cmsh41f2427fad10771p1b0f97jsn93b8b6406109
X-RapidAPI-Host: rAPIdAPI-graphqlAPI.p.rAPIdAPI.xyz
Content-Type: application/json; charset=utf-8
Cookie: jwt_auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mzc5MTc0NSwibWFzaGFwZUlkIjoiNWY0NGM5YzMwOGNiMDIxMjNhODc3MWMzIiwib3JpZ2luX3NpdGUiOiJwbGF0Zm9ybS1hcGkiLCJpc05ld1VzZXIiOmZhbHNlLCJpc0F1dGhlbnRpY2F0ZWRCeVNTTyI6ZmFsc2UsImVtYWlsIjpudWxsLCJpYXQiOjE2NDcxMDQ2ODQsImV4cCI6MTY3ODY0MDY4NH0.0O6WT0z5x5CWbnDExjdca3UTWhrANZTyR3AnMS-sdyw; connect.sid=s%3AFRLLS9Tl-mDqOnaR4gsW17uQxc24CJHs.Wd2tZlhb9%2BFnZOHwsjcVQsgNJb%2F1NG6P0Ax0E3HiX8I
Request URL Parameters
Empty URL Parameters
GraphQL: Variables
{
"where": {
"userId": 3799827
}
}
GraphQL: Query
query ($where: OrganizationWhereInput!) {
organizations(where: $where) {
name
id
email
}
}
Response Headers
Request URL: https://rAPIdAPI-graphqlAPI.p.rAPIdAPI.xyz/
Status Code: HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Access-Control-Allow-Origin: *
Set-Cookie: jwt_auth=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Mzc5OTgyNywibWFzaGFwZUlkIjoiNjIwNTIzMTc4YjI4N2EyMTFlOTY1ZWM4Iiwib3JpZ2luX3NpdGUiOiJwbGF0Zm9ybS1hcGkiLCJpc05ld1VzZXIiOmZhbHNlLCJpc0F1dGhlbnRpY2F0ZWRCeVNTTyI6ZmFsc2UsImVtYWlsIjoib2ZpcnBhcm5hc3NAcmFwaWRhcGkuY29tIiwiaWF0IjoxNjQ2MDYxNDIxLCJleHAiOjE2Nzc1OTc0MjF9.A8fKI3KBPUIIgTuLT1FZwiTtTUUBZwMoKqY8BvgVCRs; Max-Age=31536000; Path=/; Expires=Tue, 28 Feb 2023 15:17:01 GMT; HttpOnly; Secure; SameSite=Strict, connect.sid=s%3AFRLLS9Tl-mDqOnaR4gsW17uQxc24CJHs.Wd2tZlhb9%2BFnZOHwsjcVQsgNJb%2F1NG6P0Ax0E3HiX8I; Path=/; Expires=Tue, 28 Feb 2023 15:17:01 GMT; HttpOnly
Server: RapidAPI-1.2.8
X-Download-Options: noopen
X-Correlation-Id: e368c5e3-1368-42eb-89c5-b2baa6668a86
X-XSS-Protection: 1; mode=block
X-RapidAPI-Region: AWS - us-east-1
Date: Mon, 28 Feb 2022 15:17:01 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-RapidAPI-Version: 1.2.8
Content-Length: 179
Connection: Close
X-Content-Type-Options: nosniff
Etag: W/"b3-q5PYnLuEJeLRm+arScZRmaJ9/ms"
X-DNS-Prefetch-Control: off
X-Frame-Options: SAMEORIGIN
Response Body
{
"data": {
"organizations": [
{
"name": "The Official RapidAPI Org",
"id": "3791744",
"email": "[email protected]"
},
{
"name": "OfirTeam",
"id": "3799828",
"email": "[email protected]"
}
]
}
}