Document Properties
Kbid
2A5883
Last Modified
23-Jun-2020
Added to KB
22-Jul-2014
Public Access
Everyone
Status
Online
Doc Type
References
REST API OCST - Create an access token

URI

/customers/<customer-id>/tokens

Http Method

POST

Short Description

Create a new authentication token to access, e.g., the WebShop REST API as another user.

Query Parameters

none

Example Requests

/ContactCenter/-/customers/0BkKDgAN9pYAAAFFK9Qj6MxN/tokens

HTTP Status Codes

201 Created

401 If the user is not authenticated

Description

Create a new authentication token to access, e.g., the WebShop REST API as the user identified by <customer-id>.

Cartridge

app_sf_contactcenter_rest
Application

ContactCenter

Product Version

7.5.1

Product To Version

Status

New Labels

JSON

Request data format

n/a

Request related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

Request data example

n/a

Response data format

application/json

Response related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

com.intershop.application.contactcenter.capi.rest.resourceobject.TokenRO

Response data example

{
    "type": "Token",
    "token": "demo@PLAIN:fMowskQet+8=|UmtZS0RnQU45cFFBQUFGRks5UWo2TXhOQDE0MDA1MDQyOTE5MjE=",
    "user": "Cyrillus Mayer"
}

XML

Request data format

n/a

Request related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

Request data example

n/a

Response data format

text/xml

Response related java object

com.intershop.application.contactcenter.capi.rest.resource.TokenListResource

com.intershop.application.contactcenter.capi.rest.resourceobject.TokenRO

Response data example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Token type="Token">
  <token>demo@PLAIN:kcM6Uh9BSmo=|UmtZS0RnQU45cFFBQUFGRks5UWo2TXhOQDE0MDA1MDk2MjY3OTQ=</token>
  <user>Cyrillus Mayer</user>
</Token>
Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.