The code in this repository is responsible for inserting a WordPress post, sending a BlueShift email and firing a OneSignal push notification all via one endpoint.
- URL: https://{website_name}/wp-json/insert-email-push-post/v1/initiate
- Request: POST
- Headers:
Authorization: base64_encode(trim(IEPP_AUTH_KEY, " "))
Content-Type: application/json
- Body:
{
"title": "{title}",
"content": "{content}",
"author": "{author}",
"footer": "{footer}"
}