Can you provide a simple working example of the REST API.

I have registered and have got credentials (Client ID and secret)

How do either of those relate to app_id?

What about app_code which mentioned in this forum but not in the API reference.

What about OAUTH which is implied from registration page and client secret but not mentioned in API reference.

The only response I get is 401 Unauthorized – The request requires additional authorization