Is it possible to get a SmartApp's ID within the SmartApp itself?

I’m writing a system that receives notifications from various SmartApps, but I want to pass the ID of the SmartApp down the wire (I know it’s in the URL when I edit it via the IDE, so I was hoping the SmartApp itself knew).

Is this possible?

Yes.

It is a property of the SmartApp object itself. … app.id

2 Likes

Perfect! Thanks so much. Where did you find that info?

Dunno. It should be in the Developer Docs in the API section defining the “SmartApp” Object, but I can’t find it there.

Probably on @jim’s todo list.

2 Likes