Skip to main content
POST
sms.template.publish

Authorizations

Authorization
string
header
required

A Lath API key: lath_live_sk… or lath_test_sk… on a server, lath_live_pk… or lath_test_pk… in a browser.

Headers

Idempotency-Key
string

Replays the stored response for the same key and input; refuses different input.

Body

application/json
name
string
required

The template name. The reserved name auth.signin.sms overrides the built-in sign-in text.

Required string length: 1 - 120
Pattern: ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*$
locale
string

Which language variant to publish. Omit for the default variant.

Maximum string length: 20

Response

{ activityId, result }. activityId is empty for reads.

activityId
string
required

The activity this call created, or empty for a read.

result
object
required
Last modified on September 13, 2026