Skip to main content

Link Generation via SMS

POST /v1/link/go/sms​

Generates a secure, signed Doorstep Go URL for a specified address and sends it as an SMS to a provided phone number.

Requires an API key sent as a Bearer token in the Authorization header.

note

The URL sent in the SMS is a shortened version of the generated link, since the full signed URL is too long to send comfortably in a text message. The full-length link is always returned in the API response.

Request​

Request Body​

ParameterTypeRequired?Description
phonestringYesPhone number to send the SMS to, in E.164 format.
Example: +15551234567
addressstringYesStreet address of delivery location.
Example: 123 Main St, New York, NY 10001
deliveryIDstringNoUnique identifier for this delivery order. Used to track the delivery within Doorstep Go.
Example: order_456

Example Request​

curl -X POST "https://api.core.doorstep.ai/v1/link/go/sms" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "+15551234567", "address": "123 Main St, New York, NY 10001"}'

Example Request with Delivery ID​

curl -X POST "https://api.core.doorstep.ai/v1/link/go/sms" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "+15551234567", "address": "123 Main St, New York, NY 10001", "deliveryID": "order_456"}'

Response​

The link was generated and the SMS was sent successfully.

Response Body​

FieldTypeDescription
statusnumberStatus of the request.
messagestringA description of the result.
linkstringThe full generated link to the Doorstep Go application. A shortened version of this link is what gets sent in the SMS.
expirationDateISOstringWhen the link's token expires, in ISO 8601 format.

Example Response​

{
"status": 200,
"message": "Link sent successfully",
"link": "https://go.doorstep.ai?address=123%20Main%20St&buildingID=abc123&token=eyJhbGc...",
"expirationDateISO": "2026-05-21T14:30:00.000Z"
}

The recipient receives a text message like this:

Doorstep delivery guide: tinyurl.com/yszpje2t
What the recipient receives