---
layout: page
title: WebAPIClient
permalink: /reference/WebAPIClient
---
**Kind**: global class  

* [WebAPIClient](#WebAPIClient)
    * [new WebAPIClient(token, [opts])](#new_WebAPIClient_new)
    * [._createFacets()](#WebAPIClient+_createFacets)

<a name="new_WebAPIClient_new"></a>

### new WebAPIClient(token, [opts])
Slack Web API client.


| Param | Type | Description |
| --- | --- | --- |
| token |  | The Slack API token to use with this client. |
| [opts] | <code>Object</code> |  |
| opts.retryConfig | <code>Object</code> | The configuration to use for the retry operation,     {@see https://github.com/SEAPUNK/node-retry} |

<a name="WebAPIClient+_createFacets"></a>

### webAPIClient._createFacets()
**Kind**: instance method of <code>[WebAPIClient](#WebAPIClient)</code>  
**Inheritdocs**:   
