Copy PageSend notificationpost https://api.stowlog.com/public/notificationsSend a push notification to targeted users.Body ParamsNotification payload containing title, body and action details.Request payload for sending a notification.titlestringrequiredTitle of the notification.bodystringrequiredBody text of the notification.actionTypestringenumrequiredType of action to perform when the notification is interacted with.OPEN_APPOPEN_APPOPEN_URLPHONE_CALLAllowed:OPEN_APPOPEN_URLPHONE_CALLactionUrlstringURL to open when the action type is OPEN_URL.actionPhoneNumberstringPhone number to call when the action type is PHONE_CALL.userTypestringTarget user type for the notification. Cannot be combined with email or custom fields.emailstringEmail address of the target user. Cannot be combined with userType or custom fields.customFieldKeystringKey of the custom field. Must be provided with customFieldValue and cannot be combined with email or userType.customFieldValuestringValue for the custom field. Must be provided with customFieldKey and cannot be combined with email or userType.usernamestringUsername of the target user. Cannot be combined with email or custom fields.Responses 201Notification sent successfully. 400The request parameters are invalid. 401The request carries no usable API token. Send the token in the x-api-token header exactly as it was issued to you. Branch on errorCode: public-api-access.api-token.not-provided when the header is missing or empty, public-api-access.api-token.invalid when the token is malformed or not recognised, and public-api-access.api-token.revoked when the token was withdrawn by Stowlog. A revoked token never starts working again — ask for a new one rather than retrying. Rejected requests do not count towards your monthly quota. 429Your API token has used its monthly request quota. The quota is set by the plan attached to the token and counts every authenticated request, whatever its outcome, including requests that then fail validation. It is measured per calendar month in UTC and starts again at 00:00 UTC on the first day of the next month. Requests rejected with 429 do not count. The response carries no Retry-After header.Updated 6 months ago Send notificationAuthenticationDid this page help you?YesNo