Templates

Render a sample OTP text with code 123456

post/api/v1/projects/{projectId}/templates/{locale}/preview

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/projects/{projectId}/templates/{locale}/preview
  • Auth: HTTP bearer

Path parameters

projectIdinteger required
localestring required

Request body

appstring

Overrides the project sender name in the sample

Response

OK

localestring required
source'default' | 'custom' required
textstring required

Changes

No recorded changes to this operation across all 1 revision of this API.