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.
Identifier of the user in your system.
Time-to-live of the JWT token in seconds.
Display name of the user.
Email of the user.
URL of the user's picture.
Successful response
JWT token that you can use to authenticate the user.
Expiration time of the JWT token.
Identifier of the user in Brewit.
Was this page helpful?