# newsletter2-go-api-(https://api/newsletter2go/com)

Newsletter2GoApi(https:ApiNewsletter2goCom) - JavaScript client for newsletter2-go-api-(https://api/newsletter2go/com)
<h5>JSON first</h5><br/>Our REST API exchanges data in the JSON data format. Every parameter you pass (with a few exceptions e.g. when you upload files) should therefore be formatted in JSON and our API will always return results in JSON as well.<br/><br/><h5>Very RESTful</h5><br/>Our API follows a very RESTful approach.<br/>Most importantly, we implemented the following four request methods for CRUD operations:<br/><br/>POST - Create a new record<br/>GET - Retrieve / read records without changing anything<br/>PATCH - Update an existing record<br/>DELETE - Delete one or more records<br/><br/><h5>HTTP Status codes</h5><br/>We also follow the most common HTTP status codes when outputting the API response:<br/><br/><b>2xx - Successful calls</b><br/>200 - Success<br/>201 - Created<br/><br/><b>4xx - Error codes</b><br/>400 - API error - inspect the body for detailed information about what went wrong. The most common error is \"code\":1062, which means, that a unique constraint was hit. For example if the name of the group is already in use.<br/>401 - Not authenticated - invalid access_token. Check if the access_token has expired or is incorrect.<br/>403 - Access denied<br/>404 - Call not available or no records found<br/><br/><b>5xx - API error - please contact support</b><br/><br/><h5>Response format</h5><br/>The API always returns data in the following format<br/><br/><code>{<br/>&nbsp;&nbsp;\"info\": {<br/>&nbsp;&nbsp;&nbsp;&nbsp;\"count\": 0<br/>&nbsp;&nbsp;},<br/>&nbsp;&nbsp;\"value\": [<br/>&nbsp;&nbsp;&nbsp;{<br/>&nbsp;&nbsp;&nbsp;&nbsp;\"key\": \"value\"<br/>&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp;]<br/>}</code><br/><br/><h5>Recurring GET parameters</h5><br/><ul><li>_filter - a complex filter for filtering the result set based on <a target=\"blank\" href=\"https://tools.ietf.org/html/draft-nottingham-atompub-fiql-00\">FIQL</a>.</li><li>_limit - the maximum number records returned.</li><li>_offset - pagination for the result-set</li><li>_expand - submit true to get all default fields of the resource</li><li>_fields - submit a comma-separated list of case-sensetive field-names to get the values of these fields in the response. You can use this the get values of custom attribute of recipients for example.</li></ul><br/><br/><h5>Filter language</h5><br/>The filter language for filtering results is based on <a target=\"blank\" href=\"https://tools.ietf.org/html/draft-nottingham-atompub-fiql-00\">FIQL</a>.<br/>With the only restriction, that plain values must be surrounded by \". For example first_name==\"Max\"<br/>The following operators are supported<ul><li>Equals - <b>==</b></li><li>Not equals - <b>=ne=</b></li><li>Greater than - <b>=gt=</b></li><li>Greater than equals - <b>=ge=</b></li><li>Lower than - <b>=lt=</b></li><li>Lower than equals - <b>=le=</b></li><li>Like - <b>=like=</b> (in combination with % you are able to search for <i>starts with</i>, <i>ends with</i>, <i>contains</i>. For example first_name=like=\"%Max%\")</li><li>Not like - <b>=nlike=</b></li><li>Logical and - <b>;</b></li><li>Logical or - <b>,</b></li></ul><br/><br/><h5>How to make Calls?</h5><br/>After you authenticated and received a valid access_token, you have to pass it in every consecutive call. Use the Authorization header for that purpose as follows:<br/><code>xhr.setRequestHeader(\"Authorization\", \"Bearer \" + your_access_token);</code><br/><br/>Every call takes additional parameters that can be used to modify the request. These parameters should be passed as JSON<br/><code>var params = {<br/>&nbsp;&nbsp;\"key\"= \"value\"<br/>}<br/>xhr.send(JSON.stringify(params));</code><br/><br/><h5>Sending transactional emails</h5><br/>It is very important to understand the following concept in order for you to take full advantage of our powerful personalization features and our detailed reports when sending transactional emails.<br/><br/>First, you will have to create a new mailing. We recommend that you create that mailing through our UI in order to take full advantage of our powerful newsletter builder. This way, we will automatically create cross-client optimized and responsive HTML. Yet another advantage lies in the possibility for other users (e.g. the marketing team) to change the layout or the content of the mailing without having to contact the developer (you).<br/><br/>Of course, it is also possible to create a mailing through the API. When doing so, you can also take advantage of our cross-client optimized responsive HTML by passing us JSON or YAML according to the Newsletter2Go Markup Language.<br/>No matter how you create the mailing, try to create *one* reusable template. You can customize individual emails by inserting placeholders for personalized fields such as name, products or other information that will be filled through an API call when sending.<br/><br/>By only creating one template, you can take advantage of our full reporting since all emails will be treated part of a \"campaign\". When you change that template, we will create a new version of the mailing in the background and you will be able to see the difference in performance in the reports. This is particularily useful when you are trying to test and optimize different versions of transactional emails such as a sign up email.<br/><br/>After creating a mailing, you will have access to its ID. Use that ID to actually send the email in the next step.<br/><br/>When sending an email, you have to pass the newsletter ID and information about the recipient. Either pass the recipient ID or pass all the recipient's data (including the e-mail-address) as JSON.<br/><br/>If you only pass the recipient ID, we will use his or her data from your list to personalize the mailing. If you pass full recipient data as JSON, we will try to merge the data with existing data from your list.<br/><br/>You can also pass additional data such as product data which is not saved in your list. Just make sure that the placeholders in the source of the mailing correspond to the parameters that you are passing.<br/>This way you can also create for-loops which can be useful if you pass different amounts of data for each recipient (e.g. a purchase confirmation where you want to list all the products that were just bought).
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0.0
- Package version: 1.0.0
- Build date: 2016-06-08T06:59:42.502Z
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

To publish the library as a [npm](https://www.npmjs.com/),
please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).

Then install it via:

```shell
npm install newsletter2-go-api-(https://api/newsletter2go/com) --save
```

#### git
#
If the library is hosted at a git repository, e.g.
https://github.com/YOUR_USERNAME/newsletter2-go-api-(https://api/newsletter2go/com)
then install it via:

```shell
    npm install YOUR_USERNAME/newsletter2-go-api-(https://api/newsletter2go/com) --save
```

### For browser

The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
the above steps with Node.js and installing browserify with `npm install -g browserify`,
perform the following (assuming *main.js* is your entry file):

```shell
browserify main.js > bundle.js
```

Then include *bundle.js* in the HTML pages.

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
var Newsletter2GoApi(https:ApiNewsletter2goCom) = require('newsletter2-go-api-(https://api/newsletter2go/com)');

var defaultClient = Newsletter2GoApi(https:ApiNewsletter2goCom).ApiClient.default;

// Configure OAuth2 access token for authorization: OAuth
var OAuth = defaultClient.authentications['OAuth'];
OAuth.accessToken = "YOUR ACCESS TOKEN"

var api = new Newsletter2GoApi(https:ApiNewsletter2goCom).AttributeApi()

var attribute = new Newsletter2GoApi(https:ApiNewsletter2goCom).AttributePost(); // {AttributePost} the data to save


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAttribute(attribute, callback);

```

## Documentation for API Endpoints

All URIs are relative to *https://api.newsletter2go.com*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*Newsletter2GoApi(https:ApiNewsletter2goCom).AttributeApi* | [**createAttribute**](docs/AttributeApi.md#createAttribute) | **POST** /attributes | creates a new attribute
*Newsletter2GoApi(https:ApiNewsletter2goCom).AttributeApi* | [**deleteAttribute**](docs/AttributeApi.md#deleteAttribute) | **DELETE** /lists/{lid}/attributes/{id} | delete the attribute
*Newsletter2GoApi(https:ApiNewsletter2goCom).AttributeApi* | [**getAttributes**](docs/AttributeApi.md#getAttributes) | **GET** /lists/{lid}/attributes | get all Attributes of selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).AttributeApi* | [**updateAttribute**](docs/AttributeApi.md#updateAttribute) | **PATCH** /attributes/{id} | update the attribute
*Newsletter2GoApi(https:ApiNewsletter2goCom).AuthorizationApi* | [**getToken**](docs/AuthorizationApi.md#getToken) | **POST** /oauth/v2/token | Endpoint for retrieving a token
*Newsletter2GoApi(https:ApiNewsletter2goCom).CompanyApi* | [**getCompany**](docs/CompanyApi.md#getCompany) | **GET** /companies | get the details of a company
*Newsletter2GoApi(https:ApiNewsletter2goCom).CompanyApi* | [**updateCompany**](docs/CompanyApi.md#updateCompany) | **PATCH** /companies/{id} | update the Company
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**addRecipientToGroup**](docs/GroupApi.md#addRecipientToGroup) | **POST** /lists/{lid}/groups/{gid}/recipients/{id} | add single recipient to group
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**addRecipientsToGroup**](docs/GroupApi.md#addRecipientsToGroup) | **POST** /lists/{lid}/groups/{gid}/recipients | add all Recipients to the given group
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**createGroup**](docs/GroupApi.md#createGroup) | **POST** /groups | creates a new group
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**deleteGroup**](docs/GroupApi.md#deleteGroup) | **DELETE** /groups/{id} | delete the Group
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**getGroups**](docs/GroupApi.md#getGroups) | **GET** /lists/{lid}/groups | get all Group of selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**getRecipientsByGroup**](docs/GroupApi.md#getRecipientsByGroup) | **GET** /lists/{lid}/groups/{gid}/recipients | get all Recipients of selected group
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**removeRecipientFromGroup**](docs/GroupApi.md#removeRecipientFromGroup) | **DELETE** /lists/{lid}/groups/{gid}/recipients/{id} | remove single recipient from group
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**removeRecipientsFromGroup**](docs/GroupApi.md#removeRecipientsFromGroup) | **DELETE** /lists/{lid}/groups/{gid}/recipients | remove all Recipients from given group
*Newsletter2GoApi(https:ApiNewsletter2goCom).GroupApi* | [**updateGroup**](docs/GroupApi.md#updateGroup) | **PATCH** /groups/{id} | update the Group
*Newsletter2GoApi(https:ApiNewsletter2goCom).ListApi* | [**createList**](docs/ListApi.md#createList) | **POST** /lists | creates a new list
*Newsletter2GoApi(https:ApiNewsletter2goCom).ListApi* | [**deleteList**](docs/ListApi.md#deleteList) | **DELETE** /lists/{id} | delete the List
*Newsletter2GoApi(https:ApiNewsletter2goCom).ListApi* | [**getLists**](docs/ListApi.md#getLists) | **GET** /lists | get all lists
*Newsletter2GoApi(https:ApiNewsletter2goCom).ListApi* | [**getRecipients**](docs/ListApi.md#getRecipients) | **GET** /lists/{lid}/recipients | get all Recipients of selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).ListApi* | [**removeRecipientsFromList**](docs/ListApi.md#removeRecipientsFromList) | **DELETE** /lists/{lid}/recipients | remove all Recipients from selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).ListApi* | [**updateList**](docs/ListApi.md#updateList) | **PATCH** /lists/{id} | update the List
*Newsletter2GoApi(https:ApiNewsletter2goCom).ListApi* | [**updateRecipients**](docs/ListApi.md#updateRecipients) | **PATCH** /lists/{lid}/recipients | update all Recipients in selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterApi* | [**createNewsletter**](docs/NewsletterApi.md#createNewsletter) | **POST** /lists/{lid}/newsletters | creates a new newsletter
*Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterApi* | [**getNewsletter**](docs/NewsletterApi.md#getNewsletter) | **GET** /newsletters/{id} | get one newsletter
*Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterApi* | [**getNewsletters**](docs/NewsletterApi.md#getNewsletters) | **GET** /lists/{lid}/newsletters | get all newsletters of the given list
*Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterApi* | [**getReports**](docs/NewsletterApi.md#getReports) | **GET** /lists/{lid}/newsletters/{nid}/aggregations | get reports for the newsletter aggregated by days
*Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterApi* | [**sendNewsletter**](docs/NewsletterApi.md#sendNewsletter) | **POST** /newsletters/{id}/send | Sends the newsletter to a list or group
*Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterApi* | [**updateNewsletter**](docs/NewsletterApi.md#updateNewsletter) | **PATCH** /newsletters/{id} | update the Newsletter
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**addRecipientToGroup**](docs/RecipientApi.md#addRecipientToGroup) | **POST** /lists/{lid}/groups/{gid}/recipients/{id} | add single recipient to group
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**addRecipientsToGroup**](docs/RecipientApi.md#addRecipientsToGroup) | **POST** /lists/{lid}/groups/{gid}/recipients | add all Recipients to the given group
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**createRecipient**](docs/RecipientApi.md#createRecipient) | **POST** /recipients | create new recipient(s) or updates existing ones
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**deleteRecipient**](docs/RecipientApi.md#deleteRecipient) | **DELETE** /lists/{lid}/recipients/{id} | delete the recipient
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**getRecipients**](docs/RecipientApi.md#getRecipients) | **GET** /lists/{lid}/recipients | get all Recipients of selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**getRecipientsByGroup**](docs/RecipientApi.md#getRecipientsByGroup) | **GET** /lists/{lid}/groups/{gid}/recipients | get all Recipients of selected group
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**importRecipientsInit**](docs/RecipientApi.md#importRecipientsInit) | **POST** /lists/{lid}/recipients/import/init | Initialize the import of recipients by file
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**importRecipientsSave**](docs/RecipientApi.md#importRecipientsSave) | **POST** /lists/{lid}/recipients/import/save | Start the import recipients by file
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**importRecipientsStatistics**](docs/RecipientApi.md#importRecipientsStatistics) | **GET** /import/{id}/info | Get statistics about the import by file
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**removeRecipientFromGroup**](docs/RecipientApi.md#removeRecipientFromGroup) | **DELETE** /lists/{lid}/groups/{gid}/recipients/{id} | remove single recipient from group
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**removeRecipientsFromGroup**](docs/RecipientApi.md#removeRecipientsFromGroup) | **DELETE** /lists/{lid}/groups/{gid}/recipients | remove all Recipients from given group
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**removeRecipientsFromList**](docs/RecipientApi.md#removeRecipientsFromList) | **DELETE** /lists/{lid}/recipients | remove all Recipients from selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**subscribeRecipient**](docs/RecipientApi.md#subscribeRecipient) | **POST** /forms/submit/{code} | Creates a new recipient and sends a DOI-Mail
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**updateRecipient**](docs/RecipientApi.md#updateRecipient) | **PATCH** /lists/{lid}/recipients/{id} | update the recipient.
*Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientApi* | [**updateRecipients**](docs/RecipientApi.md#updateRecipients) | **PATCH** /lists/{lid}/recipients | update all Recipients in selected list
*Newsletter2GoApi(https:ApiNewsletter2goCom).ReportApi* | [**getReports**](docs/ReportApi.md#getReports) | **GET** /lists/{lid}/newsletters/{nid}/aggregations | get reports for the newsletter aggregated by days
*Newsletter2GoApi(https:ApiNewsletter2goCom).UserApi* | [**getUsers**](docs/UserApi.md#getUsers) | **GET** /users | get all users of the company where the current user has access to
*Newsletter2GoApi(https:ApiNewsletter2goCom).UserApi* | [**updateUser**](docs/UserApi.md#updateUser) | **PATCH** /users/{id} | update the user


## Documentation for Models

 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ApiResponseDelete](docs/ApiResponseDelete.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ApiResponsePost](docs/ApiResponsePost.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).AttributeGet](docs/AttributeGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).AttributePatch](docs/AttributePatch.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).AttributePost](docs/AttributePost.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).AttributeResponse](docs/AttributeResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).CompanyGet](docs/CompanyGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).CompanyPatch](docs/CompanyPatch.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).CompanyResponse](docs/CompanyResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).Data](docs/Data.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).Error](docs/Error.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).GroupGet](docs/GroupGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).GroupPatch](docs/GroupPatch.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).GroupPost](docs/GroupPost.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).GroupResponse](docs/GroupResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ImportGet](docs/ImportGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ImportResponse](docs/ImportResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).Info](docs/Info.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).InlineResponse200](docs/InlineResponse200.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ListGet](docs/ListGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ListPost](docs/ListPost.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ListResponse](docs/ListResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ModelWithId](docs/ModelWithId.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterGet](docs/NewsletterGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterPost](docs/NewsletterPost.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterResponse](docs/NewsletterResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).NewsletterSend](docs/NewsletterSend.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).PatchResponse](docs/PatchResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientGet](docs/RecipientGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientPatch](docs/RecipientPatch.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientPost](docs/RecipientPost.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientResponse](docs/RecipientResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSimple](docs/RecipientSimple.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribe](docs/RecipientSubscribe.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribeRecipient](docs/RecipientSubscribeRecipient.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribeResponse](docs/RecipientSubscribeResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribeResponseValue](docs/RecipientSubscribeResponseValue.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribeResponseValueResult](docs/RecipientSubscribeResponseValueResult.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribeResponseValueResultError](docs/RecipientSubscribeResponseValueResultError.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribeResponseValueResultErrorRecipients](docs/RecipientSubscribeResponseValueResultErrorRecipients.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).RecipientSubscribeResponseValueResultSuccess](docs/RecipientSubscribeResponseValueResultSuccess.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).Report](docs/Report.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).ReportResponse](docs/ReportResponse.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).Token](docs/Token.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).UserGet](docs/UserGet.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).UserPatch](docs/UserPatch.md)
 - [Newsletter2GoApi(https:ApiNewsletter2goCom).UserResponse](docs/UserResponse.md)


## Documentation for Authorization


### OAuth

- **Type**: OAuth
- **Flow**: implicit
- **Authorization URL**: /oauth/v2/token
- **Scopes**: N/A

### Basic

- **Type**: HTTP basic authentication

