<commit_before>---
apipath: '/login'
title: 'Authenticate'
type: 'POST'

layout: null
---

This method performs the login and sends back an authentication token that is required to interact with the rest of the platform.

The session tokens are valid for 24 hours.

##### Please note: You will need to use your existing Tappecue login credentials
This API platform passes through the authentication details and generates a session token.

##### Sessions can only be started from the Tappecue mobile app

### Request
Standard POST request
```{<commit_msg>Issue 5 - Additional documentation around Tappecue Username<commit_after>---
apipath: '/login'
title: 'Authenticate'
type: 'POST'

layout: null
---

This method performs the login and sends back an authentication token that is required to interact with the rest of the platform.

The session tokens are valid for 24 hours.

##### Please note: You will need to use your existing Tappecue login credentials.
##### This should be the username you log into the Tappecue app with - Not your email address
This API platform passes through the authentication details and generates a session token.

##### Sessions can only be started from the Tappecue mobile app

### Request
Standard POST request
```{
{'fraction_non_alphanumeric': 0.07205764611689351, 'fraction_numerical': 0.0040032025620496394, 'mean_word_length': 4.555555555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1347087', 'n_tokens_mistral': 322, 'n_tokens_neox': 298, 'n_words': 178}