Knowledge Base > API integration > Login to your inwise account directly from your application

in API integration

You can add a direct link in your organization application (CRM, billing ext.) to enable your users to login to their inwise account without the need of inserting their credentials.

There are several ways to do it, here is a soap API request example:

DESTINATION

POST   https://api.inwise.com/inwisewebservices.asmx

HEADERS

Accept: */*
Accept-Encoding: gzip, deflate
Content-Length: 575
Content-Type: text/xml; charset=utf-8
Soapaction: http://www.inwise.com/schemas/GetAuthenticationToken
User-Agent: runscope/0.1

BODY
<?xml version=”1.0″ encoding=”utf-8″?>
<soap:Envelope
xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:tm=”http://microsoft.com/wsdl/mime/textMatching/”
xmlns:tns=”http://www.inwise.com/schemas”>
<soap:Header>
<SecHeader
xmlns=”http://www.inwise.com/schemas”>
<username>inwise username</username>
<pass>inwise password</pass>
</SecHeader>
</soap:Header>
<soap:Body>
<GetAuthenticationToken
xmlns=”http://www.inwise.com/schemas” />
</soap:Body>
</soap:Envelope>

You will get a token like this: 00d8b0d0acb94a3f9a6650d1ef8e3d75

Now you can use it to open the application for 30 minutes:

https://app.inwise.com/default.aspx?token=00d8b0d0acb94a3f9a6650d1ef8e3d75

Remark: if you want to try requesting the soap api online, please follow this manual