Wawp WhatsApp API
HomePricingHelp Center
HomePricingHelp Center
WhatsApp
API Status
  1. 📤 Send Messages
  • ⛓️‍💥 Session - instances
    • Wawp’s Session Lifecycle
    • Create new Session
      POST
    • Start Session
      POST
    • Stop Session
      POST
    • Restart Session
      POST
    • Delete Session
      DELETE
    • Logout Session
      POST
    • Get Session info
      GET
    • About WhatsApp Data
      GET
  • 📲 Authentication - Login
    • About login authentication
    • GET QR raw
      GET
    • GET QR image
      GET
    • Request code
      POST
  • 📤 Send Messages
    • Send Messages
    • Send Text
      POST
    • Send Image
      POST
    • Send List
      POST
    • Send Event
      POST
    • Send PDF
      POST
    • Send Voice
      POST
    • Send video
      POST
    • Send Link Preview
      POST
    • Send Location
      POST
    • Send poll
      POST
    • Send Contact Vcard
      POST
    • Mark message(s) as seen
      POST
    • Start typing
      POST
    • Stop typing
      POST
    • Reaction
      PUT
  • ℹ️ Whatsapp Profile info
    • WhatsApp Profile Info
    • Get profile
    • Set display‑name
    • Set “About” status
    • Upload Whatsapp picture
    • Delete profile picture
  • 📢 Channels Control
    • Get list of know channels
    • Create a new channel.
    • Get channel info
    • Delete channel
    • Preview channel messages
    • Follow a channel
    • Unfollow a channel
    • Mute a channel
    • Unmute a channel
    • Search channels — by view
    • Search channels — by text
    • Search metadata — views / countries / categories
  • 🟢 Presence information
    • Presence API
    • Set session presence
    • Get the presence for the chat id
  • 🔊 24 Hour Status
    • Text status
    • Image status
    • Voice status
    • Video status
    • Delete status
  • 💬 Chats
    • Chats list & overview
    • chats overview
    • chats overview
    • Delete the chat
    • Get chat picture
    • Get messages in the chat.
    • Clear all messages from the chat.
    • Mark unread messages as read.
    • Get message by id
    • Delete a message
    • Edit a text message
    • Pin a message
    • Unpin a message
    • Archive the chat
    • Unarchive the chat
    • Mark chat as unread
  • 🪪 Contacts
    • Get all contacts
    • Get basic contact info
    • Check phone is on WhatsApp
    • Get contact “about”
    • Get contact profile picture (24h cache; add refresh=true to bust)
    • Block contact
    • Unblock contact
    • Create/Update contact on phone address book
    • Get all known lids to phone number mapping
    • Get the number of known lids
  • 👥 Groups
    • Get All List groups
    • Create a group
    • Join info (by code or URL)
    • Join group
    • Get the number of groups
    • Refresh groups from the server
    • Get the group
    • Delete the group
    • Leave the group
    • Get group picture
    • Set group picture
    • Delete group picture
    • Updates the group description
    • Updates the group subject
    • Updates the group "info admin only" settings
    • Update settings - who can send messages
    • Get settings - who can send messages
    • Set messages admin only
    • Get the invite code for the group
    • Invalidates the current group invite code and generates a new one
    • Get participants
    • Add participants
    • Remove participants
    • Promote participants to admin users
    • Demotes participants to regular users
  • 🏷️ Labels
    • Labels API
    • GET all labels
    • Create label
    • Update label
    • DELETE label
    • Chats with a label
  • 🪝 Webhooks
    • Wawp’s Webhook API
    • session.status
    • message
    • message.reaction
    • message.any
    • message.ack
    • message.revoked
    • message.edited
    • group.v2.join
    • group.v2.leave
    • group.v2.update
    • group.v2.participants
    • presence.update
    • poll.vote.failed
    • chat.archive
    • call.received
    • call.accepted
    • call.rejected
    • label.upsert
    • label.deleted
    • label.chat.added
    • label.chat.deleted
    • event.response
    • event.response.failed
    • engine.event
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
HomePricingHelp Center
HomePricingHelp Center
WhatsApp
API Status
  1. 📤 Send Messages

Send Link Preview

POST
https://wawp.net/wp-json/awp/v1/sendLinkPreview
POST /sendLinkPreview
Sends a text message containing a URL, with a customized link preview card (thumbnail, title, and description). This allows you to override the default metadata fetched from the website.
send link.png

Request

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://wawp.net/wp-json/awp/v1/sendLinkPreview?instance_id=123456789&access_token=123456789&chatId=447441429009&text=Optional text message accompanying the link. Defaults to the url if left empty.&url=https://wawp.net&thumbnail=https://wawp.net/samples/cat.jpg&linkPreviewHighQuality=true&title=Custom title for the preview card.&description=Custom description for the preview card.&reply_to=The ID of a message to reply to.'

Responses

🟢200Success
application/json
Body

Example
{
    "id": "true_1234567890@c.us_AAAAAAAAAAAAAAAAAAAAAA",
    "_data": {
        "Info": {
            "Chat": "1234567890@s.whatsapp.net",
            "Sender": "1234567890:13@s.whatsapp.net",
            "IsFromMe": true,
            "IsGroup": false,
            "AddressingMode": "",
            "SenderAlt": "",
            "RecipientAlt": "",
            "BroadcastListOwner": "",
            "BroadcastRecipients": null,
            "ID": "AAAAAAAAAAAAAAAAAAAAAA",
            "ServerID": 0,
            "Type": "",
            "PushName": "",
            "Timestamp": "2026-01-03T00:02:58Z",
            "Category": "",
            "Multicast": false,
            "MediaType": "",
            "Edit": "",
            "MsgBotInfo": {
                "EditType": "",
                "EditTargetID": "",
                "EditSenderTimestampMS": "0001-01-01T00:00:00Z"
            },
            "MsgMetaInfo": {
                "TargetID": "",
                "TargetSender": "",
                "TargetChat": "",
                "DeprecatedLIDSession": null,
                "ThreadMessageID": "",
                "ThreadMessageSenderJID": ""
            },
            "VerifiedName": null,
            "DeviceSentMeta": null
        },
        "Message": {
            "extendedTextMessage": {
                "text": "Optional text message accompanying the link. Defaults to the url if left empty. https://wawp.net",
                "matchedText": "https://wawp.net",
                "description": "Custom description for the preview card.",
                "title": "Custom title for the preview card.",
                "previewType": 0,
                "JPEGThumbnail": "/9j/4QCwRXhpZgAATU0AKgAAAAgABgESAAMAAAABAAEAAAEaAAUAAAABAAAAVgEbAAUAAAABAAAAXgEoAAMAAAABAAIAAAITAAMAAAABAAEAAIdpAAQAAAABAAAAZgAAAAAAAAEsAAAAAQAAASwAAAABAAWQAAAHAAAABDAyMTCgAAAHAAAABDAxMDCgAQADAAAAAf//AACgAgAEAAAAAQAAAGSgAwAEAAAAAQAAAEIAAAAA/+EMgWh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8APD94cGFja2V0IGJlZ2luPSfvu78nIGlkPSdXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQnPz4KPHg6eG1wbWV0YSB4bWxuczp4PSdhZG9iZTpuczptZXRhLycgeDp4bXB0az0nSW1hZ2U6OkV4aWZUb29sIDEwLjEwJz4KPHJkZjpSREYgeG1sbnM6cmRmPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjJz4..."
            }
        },
        "IsEphemeral": false,
        "IsViewOnce": false,
        "IsViewOnceV2": false,
        "IsViewOnceV2Extension": false,
        "IsDocumentWithCaption": false,
        "IsLottieSticker": false,
        "IsBotInvoke": false,
        "IsEdit": false,
        "SourceWebMsg": null,
        "UnavailableRequestID": "",
        "RetryCount": 0,
        "NewsletterMeta": null,
        "RawMessage": {
            "extendedTextMessage": {
                "text": "Optional text message accompanying the link. Defaults to the url if left empty. https://wawp.net",
                "matchedText": "https://wawp.net",
                "description": "Custom description for the preview card.",
                "title": "Custom title for the preview card.",
                "previewType": 0,
                "JPEGThumbnail": "/9j/4QCwRXhpZgAATU0AKgAAAAgABgESAAMAAAABAAEAAAEaAAUAAAABAAAAVgEbAAUAAAABAAAAXgEoAAMAAAABAAIAAAITAAMAAAABAAEAAIdpAAQAAAABAAAAZgAAAAAAAAEsAAAAAQAAASwAAAABAAWQAAAHAAAABDAyMTCgAAAHAAAABDAxMDCgAQADAAAAAf//AACgAgAEAAAAAQAAAGSgAwAEAAAAAQAAAEIAAAAA/+EMgWh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8APD94cGFja2V0IGJlZ2luPSfvu78nIGlkPSdXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQnPz4KPHg6eG1wbWV0YSB4bWxuczp4PSdhZG9iZTpuczptZXRhLycgeDp4bXB0az0nSW1hZ2U6OkV4aWZUb29sIDEwLjEwJz4KPHJkZjpSREYgeG1sbnM6cmRmPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjJz4..."
            }
        }
    }
}
Modified at 2026-01-03 00:25:11
Previous
Send video
Next
Send Location
Built with