Every response is contained in an envelope which means each response has a predictable set of keys with which you can interact.
The meta key helps communicate extra information regarding a response to the developer.
|code||Number||Up to a 5-digit code that represents the status of the request|
|type||String||short string, which is the name of the returned HTTP status|
|message||String||Human-readable description of the specific meta code|
|errors||Error||✔||Detailed error information to indicate the error in the request. It only exists in error responses.|
|path||String||Error path of the request|
|info||String||Human-readable description of the specific error|
The data key is the meat of the response. It can be in the form of a list of results, but either way, this is where you’ll find the requested data.
Here is an example for GET /memberships