Yes, all parameters in our API requests, including devices, are case-sensitive.
When sending a push notification to a specific list of devices, you must use the parameter devices in all lowercase letters. Using Devices or any other variation in capitalization will cause the request to fail.
Correct Usage Example
Here is a snippet of a valid request payload showing the correct casing for the devices parameter:
{
"notifications": [{
"content": "Your message here",
"devices": [
"device_token_1",
"device_token_2"
]
}]
}
Always refer to our official API documentation to ensure you are using the correct parameter names and casing for all your requests.
Comments
0 comments
Please sign in to leave a comment.