Send Email Verification Code

Endpoint #

URL:

https://auth-test.10npay.com/api/v1/User/email/send-confirmation


Method :POST

Request Headers

  • accept: */*
  • Authorization: Bearer {Token}
  • Content-Type: application/json-patch+json

Request Parameters

Parameter Type Description
id integer ID of the user
email string Email address to send verification code to

Example Request #

{
	"id": 1330,
	"email": "linoma3480@calunia.com"
}

CURL Example

curl -X POST "https://auth-test.10npay.com/api/v1/User/email/send-confirmation" \
-H "accept: */*" \
-H "Authorization: Bearer {Token}" \
-H "Content-Type: application/json-patch+json" \
-d "{\"id\":1330,\"email\":\"linoma3480@calunia.com\"}"

Responses #
Success #
  • Status Code: 204
  • Description: Verification email sent successfully.
  • Response Schema: Empty response
Error: Bad Request #
  • Status Code: 400
  • Description: Bad request.
  • Response Schema:

{
	"errorCode": 400,
	"errorMessage": "Bad Request"
}

Field Type Description
errorCode integer The error code.
errorMessage string A message describing the error.
Error: Server Error #
  • Status Code: 500
  • Description: Internal server error.
  • Response Schema:

{
	"errorCode": 500,
	"errorMessage": "Server Error"
}

Field Type Description
errorCode integer The error code.
errorMessage string A message describing the error.

 

Snippet #

API Properties
Header parameters
Result of the call

Powered by BetterDocs