Smarterer API

client_info

Get basic metadata about your API client application's registration in Smarterer. You can view or edit this data at Your Registered API Client Applications.

Only request this endpoint from your servers in a protected way. The client_secret should not be revealed to users (in their browser or otherwise) as this will compromise your application's security

URLs

Parameters

parameterdescription
client_id
required
Client id for application making the request.
client_secret
required
Client secret for the application making the request.

API Response

Example


{
  "api_reg": {
    "app_home_url": "http://mysite.com/myapp",
    "app_callback_url": "http://mysite.com/callback/",
    "app_name": "My Test App"
    "client_id": "abc123abc123abc123abc123acb12345",
  }
}

Response Structure

The response is a javascript object containing the following keys:
  • app_home_url: a URL string
  • app_callback_url: a URL string
  • app_name: a string
  • client_id: a string (ID in hex)