SchemaApps
Get a List of Invitations for a Schema App
Changed onRetrieve a list of invitations for a given Schema app ID.
get/invites/schemaApp
Request
- Base URLhttps://api.smartthings.com/v1
- Auth
- OAuth 2Implicithttps://auth-global.api.smartthings.comScopesmobile
- or OAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:invitations
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
schemaAppIdstring required
The schema app ID you would like a list of invitations for.
limitinteger
The maximum number of records to return in a single page. Acceptable values: 1-100 (Default = 100)
pagestring
The page key, used when retreiving the next page of results
Response
Success
Example response
{
"items": [
{
"acceptUrl": "https://www.example.com",
"declineUrl": "https://www.example.com"
}
],
"links": {
"next": {
"href": "https://..."
},
"previous": {
"href": "https://..."
}
}
}Changes
- info
the security scope
mobilewas added to the endpoint's security schemeBearer - info
the security scope
r:invitationswas removed from the endpoint's security schemeBearer
- info
- info
the security scope
mobilewas added to the endpoint's security schemeBearer - info
the security scope
r:invitationswas removed from the endpoint's security schemeBearer
- info