Dictionary

ListDictTimeZone

GET https://api.opentact.org/dict/tz

List all timezones

Headers

Name
Type
Description

Authorization

string

JWT or Bearer

{
  "success": true,
  "payload": {
    "created_on": "2019-08-24T14:15:22Z",
    "modified_on": "2019-08-24T14:15:22Z",
    "uuid": "string",
    "tn": {},
    "to": "string",
    "thread": "string",
    "message": "string",
    "reference_id": "string",
    "state": "created",
    "delivered": true,
    "automated": true,
    "custom_callback_url": "string",
    "account": {},
    "created_by": {}
  }
}

Code Example

curl -X POST "https://api.opentact.org/rest/sms" \
-H  "accept: application/json" \
-H  "X-Auth-Token: JWT_TOKEN" \
-H  "Content-Type: application/json" \
-d "{\"to\":\"J Smith\",\"tn\":12013046585,\"message\":\"test message\",\"custom_callback_url\":\"www.example.com\"}"

ListDictCountry

GET https://api.opentact.org/dict/country

List all countries

Headers

Name
Type
Description

Authorization

string

JWT or Bearer

UploadDictLERG

POST https://api.opentact.org/dict/lerg

Upload LERG csv file

Headers

Name
Type
Description

Authorization

string

JWT or Bearer

UploadDictLERG

POST https://api.opentact.org/dict/lerg

Upload LERG csv file

Headers

Name
Type
Description

Authorization

string

JWT or Bearer

GetSIPConnectionProductsList

GET https://api.opentact.org/sip/connection/product

Get SIP connection products list

Headers

Name
Type
Description

Authorization

string

JWT

Last updated

Was this helpful?