Get Verification By Provider
POSThttps://unknown.ap-shanghai.tcb-api.tencentcloudapi.com/auth/v1/verification/provider
Get Verification By Provider
Request
- application/json
Body
required
provider_id string
provider_token string
target string
Possible values: [PHONE_NUMBER
, EMAIL
]
Default value: PHONE_NUMBER
Responses
- 200
- 401
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
verification_token string
expires_in int32
{
"verification_token": "string",
"expires_in": 0
}
the oauth2.0 access token is not correct or expired
- application/json
- Schema
Schema
- any
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Authorization: http
name: Basictype: httpscheme: basic
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://unknown.ap-shanghai.tcb-api.tencentcloudapi.com/auth/v1/verification/provider' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"provider_id": "string",
"provider_token": "string",
"target": "PHONE_NUMBER"
}'
ResponseClear