Text.lk icon

Text.lk

Consume Text.lk API

Actions14

Contact → Update

AI-generated

Summary

Updates a Text.lk contact by sending a PATCH request to /contacts/{uid}. Supply the contact UID and mobile number; first and last names are optional fields sent in the request body.

Inputs

  • UID (required) — Route-safe Text.lk contact UID; use letters and numbers only.
  • Mobile (required) — Contact mobile number in Text.lk-supported international format, such as 94771234567; sent in the request body.
  • First Name — Optional first name to send in the request body.
  • Last Name — Optional last name to send in the request body.
  • Request Options — Optional request settings for batching, SSL certificate validation, proxy, and timeout.

Output shape

A single API response item containing the updated contact data.

The source defines the PATCH endpoint and request fields but does not specify response transformation or pagination.

Links

Discussion