limited-city-59768
03/07/2024, 8:03 AMchilly-king-10285
03/07/2024, 8:03 AMchilly-king-10285
03/07/2024, 8:04 AM/self-service/login/flows?id=<flow-id>
endpoint with the flow ID. Please note that the flow ID has an expiration time, so it's important to check the response status code when retrieving the flow data using an existing flow ID. If the flow has expired, you will need to initiate a new flow. Here is an example of how to get flow data using the flow ID: bash curl -X GET \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -c cookies.txt \ "https://{project.slug}.<http://projects.oryapis.com/self-service/login/flows?id=<your-flow-id|projects.oryapis.com/self-service/login/flows?id=<your-flow-id>>"
For more information, you can refer to the [Ory Kratos API documentation](https://www.ory.sh/docs/kratos/reference/api#tag/frontend/operation/getLoginFlow).