Softservv API
  1. Messages
Softservv API
  • Authentication
    • Login
      POST
  • Accounts
    • Get Account
      GET
  • Whatsapp Accounts
    • Get Whatsapp Accounts
      GET
    • Get Whatsapp Account
      GET
    • Update Whatsapp Account Webhook
      POST
    • Upgrade Whatsapp Account Plan
      POST
    • Suspend Whatsapp Account (Resellers Only)
      POST
    • Unsuspend Whatsapp Account (Resellers Only)
      POST
  • Messages
    • JSON Examples for Sending Messages
    • Get Conversations List
      GET
    • Get Conversation Messages
      GET
    • Get Received Messages
      GET
    • Get Received Message
      GET
    • Get Sent Messages
      GET
    • Get Sent Message
      GET
    • Send Message
      POST
    • Mark Message As Read
      POST
  • Media
    • Get Media
      GET
    • Upload Media
      POST
    • Delete Media
      DELETE
  • Templates
    • JSON Examples for Creating Templates
    • Get Templates
      GET
    • Get Template
      GET
    • Create New Template
      POST
    • Update Template
      POST
    • Delete Template
      DELETE
  • Billing
    • Get Pricing Plans
  • Embedded Inbox
    • Embedded Inbox - How To
    • Generate Embed Code
    • Generate Embed Token
  • Onboarding
    • Create Onboarding Invite
  • Schemas
    • Schemas
  1. Messages

Get Sent Messages

GET
https://api.softservv.co/whatsapp-accounts/{number_id}/sent-messages/
Fetches sent messages for the specified Whatsapp account. Requires a Bearer token in the Authorization header.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Query Params

Responses

🟢200OK
application/json
Successful retrieval of sent messages
Body

🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.softservv.co/whatsapp-accounts//sent-messages/?start&limit&order_by&order_direction' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "Success",
    "data": [
        {
            "messaging_product": "whatsapp",
            "recipient_type": "individual",
            "to": "1234567890",
            "name": "Joe Bloggs",
            "type": "text",
            "text": {
                "body": "Hello, how are you?"
            },
            "reaction": {
                "message_id": "wamid.1234567890",
                "emoji": "👍"
            },
            "audio": {
                "id": "audio_12345"
            },
            "document": {
                "id": "doc_12345",
                "caption": "Caption"
            },
            "image": {
                "id": "image_12345",
                "caption": "Caption"
            },
            "sticker": {
                "id": "sticker_12345"
            },
            "video": {
                "id": "video_12345",
                "caption": "Caption"
            },
            "contacts": {
                "addresses": [
                    {
                        "street": "123 Main St",
                        "city": "Cape Town",
                        "state": "Western Cape",
                        "zip": "8000",
                        "country": "South Africa",
                        "country_code": "ZA",
                        "type": "HOME"
                    }
                ],
                "birthday": "1980-01-01",
                "emails": [
                    {
                        "email": "john.doe@example.com",
                        "type": "HOME"
                    }
                ],
                "name": {
                    "formatted_name": "John Doe",
                    "first_name": "John",
                    "last_name": "Doe",
                    "middle_name": "A",
                    "suffix": "Jr",
                    "prefix": "Mr"
                },
                "org": {
                    "company": "Example Corp",
                    "department": "Engineering",
                    "title": "Developer"
                },
                "phones": [
                    {
                        "phone": "+1234567890",
                        "type": "CELL",
                        "wa_id": "1234567890"
                    }
                ],
                "urls": [
                    {
                        "url": "https://example.com",
                        "type": "HOME"
                    }
                ]
            },
            "interactive": {
                "action": {
                    "button": "Click Me",
                    "sections": [
                        {
                            "title": "Section 1",
                            "rows": [
                                {
                                    "id": "row_1",
                                    "title": "Option 1",
                                    "description": "Description 1"
                                }
                            ]
                        }
                    ]
                },
                "header": {
                    "type": "text",
                    "text": "Header Text"
                },
                "body": {
                    "text": "Body Text"
                },
                "footer": {
                    "text": "Footer Text"
                },
                "type": "list"
            },
            "location": {
                "latitude": 40.7128,
                "longitude": -74.006,
                "name": "New York City Hall",
                "address": "New York, NY 10007, USA"
            },
            "template": {
                "namespace": "namespace_12345",
                "name": "welcome_template",
                "language": "en",
                "components": [
                    {
                        "type": "body",
                        "text": "Welcome to our service!"
                    }
                ]
            },
            "message_id": "wamid.1234567890",
            "status": "sent",
            "date_created": "2025-05-15T09:59:00Z"
        }
    ]
}
Modified at 2025-09-08 13:56:59
Previous
Get Received Message
Next
Get Sent Message
Built with