Skip to main content
POST
/
text_pipeline_configuration
Post Text Pipeline Configuration
curl --request POST \
  --url https://api.toingg.com/api/v3/text_pipeline_configuration \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "messageDelay": 10,
  "mexRetry": 5,
  "retryDelay": 5,
  "postWebhook": "<string>",
  "postWebhookDelay": 86400,
  "goal": "<string>"
}'
"<any>"

Overview

The “Text Pipeline Configuration” endpoint is used to add or configure the settings for a specific campaign’s text pipeline. By sending a POST request to the /text_pipeline_configuration endpoint, users can provide the campaign ID as a parameter and include the following details in the request body:
  • A “messageDelay”, which can be set from range of “1” to “10”.
  • A “mexRetry” count, which can be set from range of “1” to “5”.
  • A “retryDelay”, which can be set from range of “1” to “5”.
  • A “postWebhook” URL, The URl for your Messaging Webhook.
  • A “gole”, described What is the ourpose of this.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

campId
string
required

Body

application/json
goal
string
required
messageDelay
integer
default:10
mexRetry
integer
default:5
retryDelay
integer
default:5
postWebhook
string | null
postWebhookDelay
integer
default:86400

Response

Successful Response

The response is of type any.