Ana içeriğe atla
POST
/
v1
/
accounts
/
phone-number-activation-request
Telefon Aktivasyon Talebi
curl --request POST \
  --url https://api.iklim.co/v1/accounts/phone-number-activation-request \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "296ff917-9b4b-4dc1-987d-2c17bdac7133",
  "accountId": "a5b5687b-ad68-44c1-b80c-c96de0d34b0a",
  "phoneNumberActivationPageLink": "https://api-manager.iklim.co/activation/mobile-phone-number"
}
'
{
"userId": "<string>",
"accountId": "<string>",
"recipientPhoneNumber": "<string>",
"tokenExpirationEpoch": 123,
"smsSent": true
}

Gövde

application/json
userId
string<uuid>
gerekli

Mobil Telefon Aktivasyonu İçin Kullanıcı Kimlik Belirteci

Örnek:

"296ff917-9b4b-4dc1-987d-2c17bdac7133"

accountId
string<uuid>
gerekli

Mobil Telefon Aktivasyonu İçin Hesap Kimlik Belirteci

Örnek:

"a5b5687b-ad68-44c1-b80c-c96de0d34b0a"

Mobil Telefon Aktivasyon Sayfası Bağlantısı

Örnek:

"https://api-manager.iklim.co/activation/mobile-phone-number"

Yanıt

Telefon aktivasyon talebi başarıyla gönderildi

userId
string

Mobil Telefon Aktivasyonu Yapılan Kullanıcı Kimlik Belirteci

accountId
string

Mobil Telefon Aktivasyonu Yapılan Hesap Kimlik Belirteci

recipientPhoneNumber
string

SMS Gönderilen Mobil Telefon Numarası

tokenExpirationEpoch
integer<int64>

SMS Aktivasyon Belirtecinin Geçerlilik Süresi

smsSent
boolean

SMS Başarıyla Gönderildi Mi?