Download OpenAPI specification:Download
Value-Auth APIはBearer認証で保護されています。予めAPI認証キーを発行しAuthorizationヘッダーに付与してAPIを利用いたします。
API認証キーの発行はこちらから
Authorization: Bearer {api_key}
エンドポイント:https://api.valueauth.jp/v1/
HTTPプロトコルのGET,POST,PUT,DELETEメソッドでレスポンスを送信します。
auth_code required | string 認証コード |
send_kbn required | integer 送信区分(1:SMS、2:メール) |
address required | string 送信先(携帯番号、メールアドレス) |
curl -H 'Accept: application/json' \ -H "Authorization: Bearer {api_key}"\ https://api.valueauth.jp/v1/{auth_code}/auth?address=[email protected].com\&send_kbn=2
{- "results": {
- "due_date": "2019-04-16 13:16:48"
}
}
auth_code required | string 認証コード |
認証情報
address | string (address) 送信先(携帯番号、メールアドレス) |
number | string (number) 認証番号 |
{- "address": "*****@*****.com",
- "number": "123456"
}
{- "results": "ok"
}
auth_code required | string 認証コード |
customer_key required | string 利用者キー |
curl -H 'Accept: application/json' \ -H "Authorization: Bearer {api_key}"\ https://api.valueauth.jp/v1/{auth_code}/twofactor?customer_key=1234
{- "results": {
- "customer_key": "1234",
- "due_date": "2019-04-16 13:16:48"
}
}
auth_code required | string 認証コード |
認証情報
customer_key | string (customer_key) 利用者キー |
number | string (number) 認証番号 |
{- "customer_key": "1234",
- "number": "123456"
}
{- "results": "ok"
}
auth_code required | string 認証コード |
customer_key required | string 利用者キー |
curl -H 'Accept: application/json' \ -H "Authorization: Bearer {api_key}"\ https://api.valueauth.jp/v1/{auth_code}/twofactor/contact?customer_key=1234
{- "results": {
- "customer": {
- "customer_key": "string"
}, - "customer_contacts": [
- {
- "id": 0,
- "address": "*****@*****.com",
- "send_kbn": "2"
}
]
}
}
auth_code required | string 認証コード |
利用者の連絡先
customer_key | string (customer_key) 利用者キー |
address | string (address) 送信先(携帯番号、メールアドレス) |
send_kbn | integer (send_kbn) 送信区分(1:SMS、2:メール) |
{- "customer_key": "1234",
- "address": "*****@*****.com",
- "send_kbn": "2"
}
{- "results": {
- "customer": {
- "