Customers
Create a customer secret
Creates a unique customer secret key valid within a scope of time.
post/customers/{customerId}/create-secret
Request
- Base URLhttps://api.dojo.tech
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customerIdstring nullable required
The unique identifier of the customer.
Headers
versionstring nullable required
The API version with format yyyy-mm-dd. The current version is 2026-02-27.
Response
OK
Example response
{
"secret": "cs_qNkU6yob0vOMxUlb2oynUw",
"createdAt": "2022-10-31T10:15:00Z",
"expireAt": "2022-10-31T10:30:22Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.