API Reference / Predefined Actions
/predefined_actions Create a new predefined action
Creates a predefined action template. text (max 140 characters) and days are required; text can embed placeholders like [first name] that are substituted when the action is applied to a contact.
Maintained by the OnePageCRM engineering team
Request body
idstringbson-idID of the predefined action
textstringrequiredDescription text of the predefined action
daysintegerint32requiredSuggested number of days until the action becomes due
Responses
201 Created
statusintegerint32Response code
messagestringResponse message
timestampintegerunix-timestampResponse time
dataobjectobject fields β
predefined_actionobjectTemplate actions users may use frequently in their sales process. Referred to as 'Saved Actions' in the web application.
object fields β
idstringbson-idID of the predefined action
textstringrequiredDescription text of the predefined action
daysintegerint32requiredSuggested number of days until the action becomes due
Standard error responses: 400 Β· 401 Β· 403 Β· 404 Β· 409 Β· 500 β shared across the API. See Errors.