Menu

Messages

The messages API reads what your page’s forms received, as your Inbox in the dashboard shows it: a page at a time, the newest first, or one message by its ID. It needs a key that can Read messages (messages:read).

On this page

List messages

GET /messages answers a page of messages, the newest first, with next for the page after it:

ParameterWhat it does
statusKeeps one status: new, read, replied, archived or spam. Without it, every message but spam.
sinceKeeps the messages received after this instant or date.
limitHow many a page holds: 50 by default, 100 at most.
beforeThe next of the page before, to get the page after it.
bash
# The new messages received since 1 September, 20 at a time
curl -H "Authorization: Bearer $WORKTUDE_KEY" \
  "https://api.worktude.com/v1/api/messages?status=new&since=2026-09-01&limit=20"
# The page after it, with the next of the page before
curl -H "Authorization: Bearer $WORKTUDE_KEY" \
  "https://api.worktude.com/v1/api/messages?status=new&since=2026-09-01&limit=20&before=$NEXT"

Read one message

GET /messages/{id} answers one message, or 404 message_not_found when the workspace has no message with that ID:

bash
curl -H "Authorization: Bearer $WORKTUDE_KEY" https://api.worktude.com/v1/api/messages/$ID
json
{
  "data": {
    "id": "sub_01M3S9TWR0QRNRP7B19XYNAR0S",
    "form": { "id": "frm_01KJPZV378PHMERQHJP1HC3JYM", "name": "Contact form" },
    "fields": [
      { "key": "name", "label": "Name", "value": "Ana Costa" },
      { "key": "email", "label": "Email", "value": "ana@example.com" },
      { "key": "message", "label": "Message", "value": "Do you have time on Tuesday?" }
    ],
    "from": { "name": "Ana Costa", "email": "ana@example.com", "phone": null },
    "service": { "id": "off_01KJPZV46GNV3WSNC10DK58QG5", "name": "Initial assessment" },
    "consent": { "given": true, "text": null },
    "source": { "referrer": "instagram.com", "utm": null, "country": "PT", "device": "mobile" },
    "status": "new",
    "createdAt": "2026-09-30T14:00:00.000Z"
  }
}

A message

FieldWhat it holds
idIts ID.
form{"id", "name"}: the form it came from.
fields[{"key", "label", "value"}]: each field the visitor filled in, with the label it had when they sent it.
from{"name", "email", "phone"}: who sent it, from the form’s name, email and phone fields, each null when absent.
service{"id", "name"}: the service the message is about, or null.
consent{"given", "text"} when the form asked for consent, with the form’s own wording in text, or null for the default one. Null when the form asks for none.
source{"referrer", "utm", "country", "device"}: the domain the visitor came from, the campaign tags, their country and mobile or desktop, each null when unknown.
statusnew, read, replied, archived or spam, as your Inbox sets it.
createdAtWhen it arrived.

Spam

A message with more than three links arrives as spam, and Mark as spam, in your Inbox, turns any other into spam. The list leaves spam out unless you ask for status=spam, and no webhook tells of it.

Questions

How do I get each new message as it arrives?

Add a webhook that gets Message received: Worktude calls it with each message that isn’t spam, as Webhooks explains.

Can the API change a message’s status?

No. The API reads messages, and their status changes in your Inbox, in the dashboard.