Signup_create
POST
/api/auth/signup
const url = 'https://met.cards/api/auth/signup';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","email":"[email protected]","password":"example","kind":"personal","slug":"example","cardSlug":"example","companyName":"example","invites":["[email protected]"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://met.cards/api/auth/signup \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "email": "[email protected]", "password": "example", "kind": "personal", "slug": "example", "cardSlug": "example", "companyName": "example", "invites": [ "[email protected]" ] }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
email
required
string format: email
password
required
string
kind
required
string
slug
required
string
cardSlug
string
companyName
string
invites
Array<string>
Responses
Section titled “Responses”Media typeapplication/json
object
Examplegenerated
{}