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
}

Body

application/json
userId
string<uuid>
required

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

Example:

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

accountId
string<uuid>
required

Mobil Telefon Aktivasyonu İçin Hesap Kimlik Belirteci

Example:

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

Mobil Telefon Aktivasyon Sayfası Bağlantısı

Example:

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

Response

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

SMS Aktivasyon Belirtecinin Geçerlilik Süresi

smsSent
boolean

SMS Başarıyla Gönderildi Mi?