# Index messages for a person Returns an array containing all messages sent to the person specified in the request URL. Endpoint: GET /v1/persons/{person_id}/messages Version: 1.0 ## Path parameters: - `person_id` (string, required) ## Query parameters: - `page[size]` (integer) Specifies the number of entries to include in each results page. - `page[number]` (integer) Specifies the number of results pages to return. ## Response 200 fields (application/json): - `id` (string) ID of the message. Example: "f4ed772c970e1096a73d9418192a2d0camsg" - `account_id` (string) ID of the account for which the message was sent. Example: "c2a13abed3b0686ab5343aa748d7f2fecacc" - `title` (string) The title of the message. Example: "Ihre Samsung Pay Bezahlung" - `text` (string) The text of the message. - `required_notification_channel` (string) The notification channel used to send the message. Enum: "any", "email" - `created_at` (string) UTC timestamp from when the message was created. Example: "2022-06-20T19:02:49Z" ## Response 403 fields (application/json): - `errors` (array) Example: [{"id":"7aaf4dfb-b7cd-4a50-a1d2-fad0e19624ef","status":403,"code":"unauthorized_action","title":"Unauthorized Action","detail":"Unauthorized action is not allowed."}] - `errors.id` (string) Error identifier - `errors.status` (integer) Error status - `errors.code` (string) Error code - `errors.title` (string) Error title - `errors.detail` (string) Error detail ## Response 404 fields (application/json): - `errors` (array) Example: [{"id":"93537ebd-c038-4a56-aa1b-17e540f57c3a","status":404,"code":"model_not_found","title":"Model Not Found","detail":"Couldn't find 'XXX' for id."}] - `errors.id` (string) Error identifier - `errors.status` (integer) Error status - `errors.code` (string) Error code - `errors.title` (string) Error title - `errors.detail` (string) Error detail