Rest API Login - get OTCSTicket

How to login with Username / Password to OpenText © Content Server.

HTTP Methond

POST

Rest API Endpoint

http[s]://<content-server>:<port>/<otcs-path>/api/v1/auth
https://otcs.phil.local/otcs/cs/api/v1/auth

Parameters

username=<username>
password=<pw>

Content-Type

or

Response

{
    "ticket": "3bf4f1883f3e....35c0dd83"
}

Information

Get OTCSTicket • Login with Username / Password

Content Server Rest API
Use with Scripts / Postman
OTCSTicket: OpenText specific HTTP Header to authorize Rest API requests
content-server: Hostname of Content Server
port: optional value for port (standard SSL = 443)
otcs-path: usually something like 'otcs/cs'
username: username to be used for login (must be url-encoded in case of x-www-form-urlencoded). Example:
OT_API
pw: password to be used for login (must be url-encoded in case of x-www-form-urlencoded). Example form-data:
s#cret
or url-encoded:
s%23cret