Hi
Thanks in Advance.
I want to create entry for specific user. I am passing value of user's ID in "user_id" parameter in request body but it always creating entry under admin user. Can any one help me on this?
Below are the details:
API URL : [domain_name]/wp-json/frm/v2/entries/
Method : POST
Body: {
"form_id": 8,
"user_id": 20,
"a5kdi": "51965x",
"zha5o": "51980",
"9ka8y": "no",
"lxzea": "Pending"
}
Currently, I am sending data from a third party app using API. I want to create an entry for a specific user same as when logged in user create entry and it is accessible for this logged in user
Please login or Register to submit your answer
Does the form your populating entries too have a user_id field? If it does use the field key instead of user_id?
Thank you Walter for your response.
No, I haven't added the "user_id" field in the form. I think it is by default a field like "form_id". Isn't it?
My goal is I want to create entries under a specific user id in API requests so only this user can see the entries.