Skip to main content
POST
/
receive-media-mobile
Error
A valid request URL is required to generate request examples
[
  {
    "media_id": 1,
    "sender_id": 201,
    "receiver_id": 101,
    "media_path": "http://example.com/media/image1.jpg",
    "sent_at": "2024-06-21 15:30:00",
    "sender_name": "Mobile User One",
    "sender_image": "http://example.com/mobile_user_image.jpg",
    "type": "image"
  }
]

Body

application/json
token
string
required

JWT Access Token of the mobile app user.

Example:

"eyJ..."

limit
integer

Number of media items to retrieve per page.

Example:

10

page
integer

Page number for pagination (starts at 1).

Example:

1

Response

List of received media (images and audio).

media_id
integer
Example:

1

sender_id
integer
Example:

201

receiver_id
integer | null
Example:

101

media_path
string
Example:

"http://example.com/media/image1.jpg"

sent_at
string<date-time>

Local time (Europe/Madrid).

Example:

"2024-06-21 15:30:00"

sender_name
string
Example:

"Mobile User One"

sender_image
string | null
Example:

"http://example.com/mobile_user_image.jpg"

type
enum<string>
Available options:
audio,
image
Example:

"image"