notify offer contacts
POST/org/:orgId/offer/:offerId/notifyContacts
Send offer notifications to the given contact ids. If contactIds is empty, send notifications to all contacts of the offer.
Request
Path Parameters
Organization ID
Offer ID
- application/json
Body
array
List of Contact IDs, if emoty or nil, send notifications to all contacts of the offer
Array [
]
string
Responses
- 200
- 400
- 405
- 500
NotificationEvent object
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [``, ABNORMAL_ALERT
, ACCEPT
, ADD
, APPROVE
, CANCEL
, CLOSE
, CREATE
, DELETE
, DISBURSE
, END_SOON
, EXPIRE
, EXPIRE_SOON
, MERGE
, METER
, NEW_CLIENT_SIGNUP
, NOTIFY
, NOTIFY_CONTACTS
, OPEN_EMAIL
, PENDING_CANCEL
, PENDING_ACCEPTANCE
, REINSTATE
, REJECT
, REOPEN
, CHARGE
, REFUND
, ISSUE
, ROTATE_SECRET
, SUSPEND
, TEST
, UPDATE
, ACE_ENGAGEMENT_SCORE_UPDATE
, ACE_SALES_REP_UPDATE
, ACE_CUSTOMER_EMAIL_UPDATE
, SUBMIT_APPROVAL_REQUEST
, REVIEW_APPROVAL_REQUEST
, COMPLETE
]
Cc contactIds that will receive this notification
Possible values: [EMAIL
, SLACK
, SMS
, SNS
, SALESFORCE
, WEBHOOK
, SUGER_SUPPORT
, MICROSOFT_TEAMS
]
The list of channels this event will be sent to, e.g., ["SLACK", "EMAIL"]
Contact emails that will receive this notification
ContactIds that will receive this notification
createdBy
object
The email of the creator.
The ID of the creator.
Possible values: [``, API_CLIENT
, AUDITING_EVENT
, AUTO_SHARE_TASK
, BUYER
, CONTACT
, ENTITLEMENT
, ENTITLEMENT_TERM
, HEADLESS_ENTITLEMENTS
, HUBSPOT_USER
, INTEGRATION
, INVOICE
, NEW_CLIENT
, NOTIFICATION_MESSAGE
, OFFER
, ORGANIZATION
, PAYMENT_TRANSACTION
, PRODUCT
, REFERRAL
, REVENUE_RECORD
, SUPPORT_TICKET
, UNPURCHASED_OFFERS
, USAGE_RECORD_GROUP
, USAGE_RECORD_REPORT
, USER
, WORKFLOW
]
The Entity type of the creator, either USER or API_CLIENT.
The name of the creator.
customFields
object
Custom fields of the notification event.
Custom fields of the notification event.
The name of the entity.
Possible values: [``, API_CLIENT
, AUDITING_EVENT
, AUTO_SHARE_TASK
, BUYER
, CONTACT
, ENTITLEMENT
, ENTITLEMENT_TERM
, HEADLESS_ENTITLEMENTS
, HUBSPOT_USER
, INTEGRATION
, INVOICE
, NEW_CLIENT
, NOTIFICATION_MESSAGE
, OFFER
, ORGANIZATION
, PAYMENT_TRANSACTION
, PRODUCT
, REFERRAL
, REVENUE_RECORD
, SUPPORT_TICKET
, UNPURCHASED_OFFERS
, USAGE_RECORD_GROUP
, USAGE_RECORD_REPORT
, USER
, WORKFLOW
]
notification event id.
Possible values: [``, SCHEDULED
, PENDING
, DONE
, FAILED
]
Additional info of the notification event.
If this notification event is an action item.
timestamp of the event when it is updated.
The message of the notification event such as email body, action item description.
suger organization id.
Possible values: [``, ADYEN
, ALIBABA
, AWS
, AWS_CHINA
, AZURE
, GCP
, GOOGLE
, HUBSPOT
, INTUIT
, LAGO
, MARKETO
, METRONOME
, MICROSOFT
, ORACLE
, ORB
, REDHAT
, SALESFORCE
, SLACK
, SNOWFLAKE
, STRIPE
, ZOHO
]
Possible values: [``, LOW
, MEDIUM
, HIGH
, CRITICAL
]
If this notification event is an auditing event and need to store in DB.
timestamp of the event when it is scheduled or created.
The title of the notification event such as email subject, action item title.
trackEvents
object[]
The track events of the notification event.
Possible values: [OPEN_EMAIL
]
The ID of the contact who triggered the track event if applicable.
timestamp of the track event happened.
{
"action": "",
"ccContactIds": [
"string"
],
"channels": [
"EMAIL"
],
"contactEmails": [
"string"
],
"contactIds": [
"string"
],
"createdBy": {
"email": "string",
"entityId": "string",
"entityType": "",
"name": "string"
},
"customFields": {},
"entityID": "string",
"entityName": "string",
"entityStatus": "string",
"entityType": "",
"eventID": "string",
"eventStatus": "",
"isActionItem": true,
"lastUpdateTime": "2024-07-29T15:51:28.071Z",
"message": "string",
"organizationID": "string",
"partner": "",
"priority": "",
"requireAudit": true,
"timestamp": "2024-07-29T15:51:28.071Z",
"title": "string",
"trackEvents": [
{
"action": "OPEN_EMAIL",
"contactId": "string",
"timestamp": "2024-07-29T15:51:28.071Z"
}
]
}
Bad request error
- application/json
- Schema
Schema
string
Method not allowed
- application/json
- Schema
Schema
string
Internal error
- application/json
- Schema
Schema
string