cURL
curl --request POST \ --url https://api.brewit.ai/v1/auth/signin_external \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "external_id": "<string>", "ttl_seconds": 123, "display_name": "<string>", "email": "<string>", "picture": "<string>" }'
{ "token": "<string>", "expire": "<string>", "external_user_id": "<string>" }
Sign in externally and generate a JWT token to authenticate the user.
Use your Brewit API_KEY as the value of this header.
Successful response
The response is of type object.
object
Was this page helpful?