Suggestions

close search

PCC Config

Buy a Contact Center number

URL: https://api.stringeex.com/v1/pccconfig

HTTP method: POST

Content-Type: application/json

Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication

Field Type Required Description
uri Text Yes URI of API call to PCC, ex: API add a number: https://developer.stringee.com/docs/pcc-rest-api/integrable-contact-center-number-management so URI='v1/number' (don't have character /)
method Text Yes method of API call to PCC
body Array Yes body of API call to PCC

Sample request:

{
    "uri": "v1/number",
    "method": "POST",
    "body": {
        "number": "84986776776",
        "enable_ivr": true
    }
}

Sample response:

{
    "r": 0,
    "message": "Call API success",
    "resFromPccApi": {
        "r": 2,
        "message": "Number existed",
        "numberID": "NU2OWP49"
    }
}