POST perception/subscriber/authenticate

Available from CRM.COM R9.0.0

This method authenticates a subscriber against CRM.COM and returns the subscriber ID related with the subscriber, as defined in perception system

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

identifier
(mandatory)

StringThe identifier (username) of the subscriber

pass_code
(mandatory)

StringThe pass code (password) of the subscriber

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Name

Type

Description

subscriber_id

StringThe subscriber ID as defined in Perception
idStringThe ID of the CRM.COM subscription
numberStringThe number of the CRM.COM subscription

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

  {
    "token" : "419E7699565C422EAEDD51F1FB41344A",
    "identifier" :"Ioannides1123456789!*/-" ,
    "pass_code":"Ioannides1123456789!*/-"
}

Response:

 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "subscriber_id": "S60808",
    "number": "S60808",
    "id": "2C5766FBEED24D0BADD8A8BEB1550AEC"
  }
}