Scripts
Update script message pacing
Set the minimum and maximum conversation exchanges before this script step, from 0 to 10. These values count exchanges, not elapsed minutes; null removes the corresponding override.
PATCH
/v1/agencies/{agencyId}/script-templates/{templateId}/exchange-intervalSet the minimum and maximum conversation exchanges before this script step, from 0 to 10. These values count exchanges, not elapsed minutes; null removes the corresponding override.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
agencyId*string
Length
1 <= lengthtemplateId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/agencies/string/script-templates/string/exchange-interval" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "intervalMin": 0, "intervalMax": 0 }'{ "data": { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "name": "string", "language": null, "price": 0, "scriptId": "string", "updatedAt": "2019-08-24T14:15:22Z", "content": "string", "position": 0, "imported": true, "importedAt": null, "basePrice": 0, "maxPrice": 0, "creatorTags": [ "string" ], "intervalMin": null, "intervalMax": null, "isAiCaption": true, "isLockedText": true, "pricingMode": "FIXED" }, "meta": { "requestId": "string", "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969", "status": "COMPLETED" }}