ReferenceAPI Reference
Auth
Authentication and registration
Register new user
Authorization
bearerAuth AuthorizationBearer <token>
Supabase JWT token
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://arke-v1.arke.institute/auth/register"{
"created": true,
"user": {
"id": "01J1SHMAE10000000000000000",
"cid": "bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy",
"properties": {
"label": "Ishmael",
"name": "Ishmael"
},
"ver": 1
}
}{
"created": true,
"user": {
"id": "01J1SHMAE10000000000000000",
"cid": "bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy",
"properties": {
"label": "Ishmael",
"name": "Ishmael"
},
"ver": 1
}
}{
"error": "Unauthorized: Missing or invalid authentication token"
}{
"error": "Forbidden: You do not have permission to perform this action"
}{
"error": "Internal server error"
}