{"openapi":"3.1.0","info":{"title":"Resonance AdminIdentity Admin REST API","summary":"Resonance AdminIdentity Admin API Routes that fall outside of GraphQL.","description":"The double Admin is not a typo, signifying the Admin functionality for the AdminIdentity domain.","version":"1.0.0"},"servers":[{"url":"https://api.adminidentity.buildresonance.com","description":"Resonance AdminIdentity Admin Production API"}],"paths":{"/token":{"post":{"summary":"Create Token","description":"Create a token for a given app client to perform App-related activities on behalf of app installations. This route is heavily rate-limited for security and should not be called frequently.","tags":["Token"],"requestBody":{"description":"AppClientId and AppSecret","content":{"application/json":{"schema":{"type":"object","properties":{"appClientId":{"type":"string","description":"App Client Id"},"appSecret":{"type":"string","description":"App Secret"}},"required":["appClientId","appSecret"]},"example":{"appClientId":"appcl-1234","appSecret":"34wegskgheaorht359ynklbnv"}}}},"responses":{"200":{"description":"Token Information","content":{"application/json":{"schema":{"type":"object","properties":{"AccessToken":{"description":"The access token to be used to make API calls.","type":"string"},"ExpiresIn":{"description":"The number of seconds until the access token expires.","type":"number"},"TokenType":{"description":"The type of token.","type":"string"},"RefreshToken":{"description":"The refresh token to be used to refresh the access token.","type":"string"},"IdToken":{"description":"The id token to be used to make API calls, if chosen.","type":"string"}},"required":["AccessToken","ExpiresIn","TokenType","RefreshToken"]},"example":{"accessToken":"eydfkslnvn==","expiresIn":3600,"tokenType":"Bearer","refreshToken":"eydfkslnfdsgfdhdfahfdhgdnbvn=="}}}},"401":{"description":"Unauthorized","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Unprocessable Entity (Invalid Body)","content":{"text/plain":{"schema":{"type":"string"}}}},"429":{"description":"Too Many Requests","content":{"text/plain":{"schema":{"type":"string"}}}},"502":{"description":"Downstream Authentication Service Error","content":{"text/plain":{"schema":{"type":"string"}}}}}}}}}