> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/resources/self-service-center-token.md).

# Class: SelfServiceCenterTokenResource

You can use selfServiceCenterToken to create a token for accessing the self service center and sending it to the customer

## Methods

### create()

```ts
create(email, returnUrl?): Promise<{
  status: string;
}>;
```

Create self service center token, and send it to the customer in an email.

#### Parameters

**email**

`string`

Customer's email address

**returnUrl?**

`string`

Self service center url to use in the email

#### Returns

`Promise`<{ `status`: `string`; }>

The status of the request

#### Throws

* [ServerError](/sdks/firmhouse-sdk/reference/errors/server.md) - Thrown if the request fails
