Documentation > Access API > AuthController > accessapi/Auth/Authenticate

accessapi/Auth/Authenticate

Create a new user session on the specified server and instance.

POST

https://cms.crownpeak.com/[Your Instance]/cpt_webservice/accessapi/Auth/Authenticate


Request Information

URI Parameters

None.

Body Parameters

The parameters sent as post data.

AuthAuthenticateRequest

NameDescriptionType
instance

System.String
password

System.String
remember_me

System.Boolean
timeZoneOffsetMinutes

System.Int32
username

System.String

Request Formats

application/json

Sample:

            
            {
              "instance": "AdventGeneral",
              "username": "username",
              "password": "password",
              "remember_me": false,
              "timeZoneOffsetMinutes": -480
            }
            
            



Response Information

Resource Description

AuthAuthenticateResponse

NameDescriptionType
ResultCode

eResultCodes
ErrorMessage

System.String
InternalCode

System.Int32
IsSuccessful

System.Boolean

Response Formats

application/json

Sample:

            
            {
              "resultCode": "conWS_Success",
              "errorMessage": "",
              "internalCode": 0
            }
            
            

Connect with Crownpeak