Assigning a value from a web service response

I have a Test Case that will send an API request and in the response for that request, I want to grab an id that will change every time this request is sent, and assign that to the value of a variable. After this, the test will navigate to a web page where I will confirm that metadata is returned with that current id included. Heres an example of a response I will receive:

“message”:“message here”,
“task_id”:“id here”,
“creation_date”:“date here”,
“response_date”:“another date here”,
“project_id”:“another id here”

I need to grab the value of the project_id. How would I do this? Thank You!