Sign in
curl --request POST \
--url https://app.teable.io/api/auth/signin \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"email":"user@example.com","password":"stringst"}'
{
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"notifyMeta": {
"email": true
},
"hasPassword": true,
"isAdmin": true,
"organization": {
"id": "<string>",
"name": "<string>",
"departments": [
{
"id": "<string>",
"name": "<string>"
}
],
"isAdmin": true
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Sign in successfully
The response is of type object
.
curl --request POST \
--url https://app.teable.io/api/auth/signin \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"email":"user@example.com","password":"stringst"}'
{
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"notifyMeta": {
"email": true
},
"hasPassword": true,
"isAdmin": true,
"organization": {
"id": "<string>",
"name": "<string>",
"departments": [
{
"id": "<string>",
"name": "<string>"
}
],
"isAdmin": true
}
}