# Create one-time token **POST /api/one-time-tokens** Create a new one-time token associated with an email address. The token can be used for verification purposes and has an expiration time. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ## Body parameters Content-type: application/json - **email** (string) The email address to associate with the one-time token. - **context** (object) Additional context to store with the one-time token. This can be used to store arbitrary data that will be associated with the token. - **expiresIn** (number) The expiration time in seconds. If not provided, defaults to 10 mins (600 seconds). ## Responses ### 201: The one-time token was created successfully. #### Body Parameters: application/json (object) - **tenantId** (string) - **id** (string) - **email** (string) - **token** (string) - **context** (object) - **status** (string) - **createdAt** (number) - **expiresAt** (number) ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden [Powered by Bump.sh](https://bump.sh)