LoguDocs
Open Logu

Delivery · createWhatsAppLink

Connect WhatsApp

POST /v1/whatsapp/link

A one-time wa.me link: it opens WhatsApp with a message to Logu already typed, and sending it connects that number to the member (valid 10 minutes).

Who may call it
any signed-in human
Server
https://api.logu.dev

Example#

curl -s -X POST "https://api.logu.dev/v1/whatsapp/link" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

201

The link and when it expires.

{
  "url": "https://wa.me/5511912345678?text=Connect%20Logu%20Zk3mP9qR2sT5vW8yA1bC4dE7fG0hJ3kL",
  "expiresAt": "2026-10-12T14:13:11.000Z"
}
Response fields
FieldTypeRequiredNotes
urlstringrequireduri
expiresAtstringrequireddate-time

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
500internal_errorSomething went wrong on Logu's side.
503service_unavailableA dependency is down or a feature isn't configured on this server.