Update script message
Update a sales-script message template's content, media, pricing and other supplied settings. This changes the template rather than messages already sent to fans.
/v1/agencies/{agencyId}/creators/{creatorId}/script-templates/{templateId}Update a sales-script message template's content, media, pricing and other supplied settings. This changes the template rather than messages already sent to fans.
Authorization
bearerAuth In: header
Path Parameters
1 <= lengthRequest 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/creators/string/script-templates/string" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "template": { "name": "string", "price": 0, "scriptId": "string", "content": "string", "medias": [ { "id": "string", "price": 0, "type": "PHOTO", "files": { "preview": "string", "thumb": "string", "full": "string" }, "createdAt": "string" } ], "basePrice": 0, "maxPrice": 0, "postMediaMessages": [ { "waitTime": 0 } ] } }'{ "data": { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "name": "string", "language": null, "price": 0, "scriptId": "string", "updatedAt": "2019-08-24T14:15:22Z", "imported": true, "importedAt": null, "content": "string", "position": 0, "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" }}Create script message POST
Add a message template to a creator's sales script, including supported text, media, PPV pricing and follow-up content. Creating a template does not send it.
Update script message pacing PATCH
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.