# GetToken {{ **POST /v1/auth/token** GetToken {{.MethodDescriptorProto.Name}} is a call with the method(s) {{$first := true}}{{range .Bindings}}{{if $first}}{{$first = false}}{{else}}, {{end}}{{.HTTPMethod}}{{end}} within the "{{.Service.Name}}" service. It takes in "{{.RequestType.Name}}" and returns a "{{.ResponseType.Name}}". It is used to generate a short lived access token for web access. {{import "tables.md"}} ## Servers - Cloud hosted production server: https://api.brease.run (Cloud hosted production server) - Development server: http://localhost:4400 (Development server) ## Authentication methods - Api key auth ## Parameters ## Responses ### 200 OK #### Body: application/json (object) - **accessToken** (string) - **refreshToken** (string) ### default Default error response #### Body: application/json (object) - **code** (integer(int32)) The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. - **message** (string) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. - **details** (array[object]) A list of messages that carry the error details. There is a common set of message types for APIs to use. [Powered by Bump.sh](https://bump.sh)