Setup Template

Update an existing Setup Template record by ID.

put/api/cp/setup/template/{id}

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

Path parameters

idinteger required

Id identifier

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

Operation completed successfully

statusstring

Operation status

Example response

{
  "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