URL

http://webapi.leadmaster.com/api/LMService/access?client_id={client_id}&client_secret={client_secret}&code={code}&grant_type={grant_type}&redirect_uri={redirect_uri}

Description

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
client_id

Define this parameter in the request URI.

client_secret

Define this parameter in the request URI.

code

Define this parameter in the request URI.

grant_type

Define this parameter in the request URI.

redirect_uri

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "access_token": "sample string 1",
  "refresh_token": "sample string 2"
}

application/xml, text/xml

Sample:
<clsaccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers">
  <access_token>sample string 1</access_token>
  <refresh_token>sample string 2</refresh_token>
</clsaccess>