Setup Template

Create a new Setup Template record.

post/api/cp/setup/template

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

Request body

idinteger

Id

account_idinteger

Account Id

company_idinteger

Company Id

app_idstring

App Id

namestring required

Name

subjectstring

Subject

textstring

Text

htmlstring

Html

smsstring

Sms

scriptstring

Script

Example request

{
  "id": 12345,
  "account_id": 1,
  "company_id": 1,
  "app_id": 1,
  "name": "Example Name",
  "subject": "example_subject",
  "text": "Sample text text content",
  "html": "Sample html text content",
  "sms": "example_sms",
  "script": "Sample script text content"
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API