Log in to your account
POST https://{{base_url}}/v3/user-session
The Log in to your account request is used to sign in to your Contentstack account and obtain the authtoken.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Log in to your account API Reference document
Request Body
{"user"=>{"email"=>"{{user_email}}", "password"=>"{{password}}", "tfa_token"=>"{{your_2FA_token}}"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |