An API session is a temporary unique identifier tied to a company ID, user ID, and an endpoint URL. It’s used as an alternative authentication method to avoid effectively logging in each time with a company ID, user ID, and password.


Get API Session

getAPISession

<getAPISession/>

Parameters

Response

The above function returns data structured like this:

<api>
    <sessionid>nOTaReAlSesSIonId..</sessionid>
    <endpoint>https://na12.intacct.com/ia/xml/xmlgw.phtml</endpoint>
</api>

Parameters

api

Name Type Description
sessionid string Unique identifier for an API session
endpoint string Endpoint URL the sessionid is tied to. Use this and the sessionid for subsequent API requests

Provide feedback