Create sign up / login api workflows

Hi there, can anyone help me with using an external app to login to my bubble app. I have created an

api workflow with action sign the user up. My endpoint name is sign_up so the url of the endpoint is https://app_name.bubbleapps.io/version-test/api/1.1/wf/sign_up . The first problem is when creating the sign_up action it asks me to enter the value for Email and Password . I thought these are the body parameters for the api call so I do not know what to enter in the box. When trying to set this up in postman I have entered the above url and body parameters Email and Password , but I am getting error back

{
“reason”: “NO_EMAIL”,
“statusCode”: 400,
“message”: “Please include an email”
}

Can anyone please help?

Can you screenshot the parameters for your API workflow? Maybe you made a small typo in the parameter name. Maybe you didn’t hook up the email parameter to the login action properly.

@robertmramsden did you found any solution please let me know,
i am struggling the same.

I had the same error from pulling in an email address from a third party form and handling the sign up w/ the workflow API. The solution was really unintuitive, but I changed the email address from the post request from type ‘email’ to type ‘text’ then it worked for whatever reason! Still baffled lol

1 Like