Discussions

Ask a Question
Back to All

Why the response is '403 Forbidden'?

(edited)

Why the response is 403 Forbidden?

curl --request POST 
--url <https://api.sprig.com/v2/users> 
--header 'Authorization: My_API_KEY' 
--header 'accept: application/json' 
--header 'content-type: application/json' 
--data ' 
{ 
"attributes" : { 
"notification_type" : "initial_buy", 
"product_id" : "subscription.monthly", 
"platform" : "APPLE" 
}, 
"userId" : "test_1", 
"events" : [ { 
"event" : "iap_notification", 
"timestamp" : 1675920915000 
} ] 
}