Skip to main content

Retrieve an organization by ID for a User

GET 

https://api.iap.dev/v1/organizations/:id

Retrieve an organization by ID for a User

Request

Path Parameters

    id stringrequired

Responses

Schema
    id stringrequired

    The unique ID of the organization

    name stringrequired

    The name of the organization

    plan object
    name stringrequired

    Possible values: [pro_monthly, pro_yearly, team_monthly, team_yearly]

    The name of the organization's plan

    status stringrequired

    Possible values: [PENDING, ACTIVE, INCOMPLETE, CANCELED]

    The status of the organization's plan

Authorization: JWT

name: JWTtype: httpscheme: bearerbearerFormat: JWTdescription: Enter JWT tokenin: header
curl -L -X GET 'https://api.iap.dev/v1/organizations/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://api.iap.dev
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!