Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.wadial.com/api/v1/sessions/{sessionId}/messages/location \ --header 'Authorization: Bearer <token>'
Send a location pin or contact card from a connected token.
POST /api/v1/sessions/{sessionId}/messages/location Authorization: Bearer <api_key> Content-Type: application/json Idempotency-Key: <unique-message-key>
{ "to": "15551234567", "content": { "type": "location", "latitude": 37.7749, "longitude": -122.4194, "name": "Market Street", "address": "San Francisco, CA" } }
POST /api/v1/sessions/{sessionId}/messages/contact Authorization: Bearer <api_key> Content-Type: application/json Idempotency-Key: <unique-message-key>
{ "to": "15551234567", "content": { "type": "contact", "displayName": "Jane Doe", "vcard": "BEGIN:VCARD\nVERSION:3.0\nFN:Jane Doe\nTEL:+15551234567\nEND:VCARD" } }
contacts
{ "to": "15551234567", "content": { "type": "contact", "displayName": "2 contacts", "contacts": [ { "displayName": "Jane Doe", "vcard": "BEGIN:VCARD\nVERSION:3.0\nFN:Jane Doe\nTEL:+15551234567\nEND:VCARD" } ] } }
data
Was this page helpful?