Verify a sign-up code
POST
Trade the mailed code for a new workspace and an API key that expires after 90 days. The key is returned once: the code is spent, and a retry answers code_expired (an address that now has a workspace signs in with npx -y syndai login). Ten wrong codes per mailbox in 24 hours answer attempts_exhausted. No authentication is required.
application/json- body
code*stringLength
1 <= length <= 16email*stringLength
3 <= length <= 254Document created, URL follows
application/json- response
api_key*stringFormat
passwordapp_url*stringcustomer_id*stringFormat
uuidexpires_at*stringFormat
date-timekey_id*stringFormat
uuidcurl -X POST 'https://api.syndai.ai/api/v1/signup/verify' \ -H 'Content-Type: application/json' \ -d '{ "code": "string", "email": "string"}'Example Response
{ "api_key": "pa$$word", "app_url": "string", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "expires_at": "2019-08-24T14:15:22Z", "key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5"}