Step 8: Create push notification content
POST {{apiPath}}/environments/{{envID}}/templates/transaction/contents
This POST /environments/{{envID}}/templates/transaction/contents
operation creates a customized push content resource associated with the transaction
template.
Request Body
{"locale"=>"en", "title"=>"Test", "variant"=>"variant_C", "body"=>" Your OTP is ${otp}", "deliveryMethod"=>"Push", "pushCategory"=>"APPROVE_AND_OPEN_APP"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |