---
title: "API Call XML Package"
slug: "api-call-xml-package"
updated: 2024-05-30T19:28:27Z
published: 2024-05-30T19:28:27Z
canonical: "support.smarteru.com/api-call-xml-package"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.smarteru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Call XML Package

In order to use this feature, be sure to enable [API access](https://support.smarteru.com/docs/account-api-setup#allow-api-access-for-this-account) for your account.

All API function calls use a standard framework for XML arguments that are passed through to each function. Below is an example of that XML framework.

```markup
<SmarterU>
   <AccountAPI></AccountAPI>
   <UserAPI></UserAPI>
   <Method></Method>
   <Parameters></Parameters>
</SmarterU>
```

## **Account API**

The <AccountAPI> tag is used to identify your account when calling the API. This key is a one-way encrypted key and must be included in every API call.

To find your account API key:

1. Log into SmarterU.
2. From the Admin menu, select **Account Admin**.
3. Select **Account Settings**.
4. Expand the [API Setup](/v1/docs/account-api-setup) accordion. Your account's API key displays in the API Key field.

![](https://cdn.document360.io/7efaadab-fef6-4186-806a-2ca14c9ce9ea/Images/Documentation/api-call-xml-package-image-pxfyhu6o.png)

## **User API**

The <UserAPI> tag is used to identify the caller of the API. Any actions taken through the API will be linked back to the user making the API call. This key is also a one-way encrypted key and must be included in every API call.

We recommend that you create a new user and NOT use an existing user that is associated with a person.

To obtain the UserAPI token:

- Be sure that API is enabled for your account.
- [Create a user](/v1/docs/adding-a-user-manually) for the API and [enable the API](/v1/docs/user-login-information#enable-api) for that user. Doing this exposes the API key.

![](https://cdn.document360.io/7efaadab-fef6-4186-806a-2ca14c9ce9ea/Images/Documentation/api-call-xml-package-image-p28omm70.png)

## **Method**

The <Method> tag is the name of the method you wish to call within the API. For example:

```markup
<Method>createHistoricalSession</Method>
```

Refer to the [API Methods page](/v1/docs/api-methods) for a list of available methods.

## **Parameters**

The <Parameters> tag is used to pass through the specific arguments needed for each of the API functions. Each block of XML in this tag is unique to each method. Refer to [each method's](/v1/docs/api-methods) page for details on its available parameters.

## Related

- [Account: API Setup](/account-api-setup.md)
- [Adding a User Manually](/adding-a-user-manually.md)
- [API Methods](/api-methods.md)
- [API Response XML Package](/api-response-xml-package.md)
