Skip to main content

HTTP API reference › Gala Launchpad › auth

Gala Launchpad — auth

4 operations in this group.

POST /auth/login​

AuthController_login

Login with wallet signature (or bypass in dev environments)

Login with wallet signature (or bypass in dev environments)

Responses​

200 — Login successful; the access token and user identity are returned in data.​

Content type: application/json

Schema: ApiSuccessEnvelopeMetadataDto & object

FieldTypeRequiredDescription
errorboolean enum: falseyesSuccessful response marker.
messagestringyesResponse message.
statusnumberyesHTTP status code.
dataLoginResponseDtoyes

401 — Unauthorized - signature verification failed or address invalid​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

default — Shared error envelope returned by the application exception filter.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

Example response​

[]

POST /auth/logout​

AuthController_logout

Logout and optionally invalidate all devices

Logout and optionally invalidate all devices

Authentication: bearer

Responses​

200 — Logout successful; undefined data is omitted from the JSON body.​

Content type: application/json

Schema: ApiSuccessEnvelopeMetadataDto

FieldTypeRequiredDescription
errorboolean enum: falseyesSuccessful response marker.
messagestringyesResponse message.
statusnumberyesHTTP status code.

401 — Unauthorized - missing or invalid JWT token​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

default — Shared error envelope returned by the application exception filter.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

Example response​

[]

POST /auth/refresh​

AuthController_refresh

Refresh access token (legacy or refresh token flow)

Refresh access token (legacy or refresh token flow)

Responses​

Content type: application/json

Schema: ApiSuccessEnvelopeMetadataDto & object

FieldTypeRequiredDescription
errorboolean enum: falseyesSuccessful response marker.
messagestringyesResponse message.
statusnumberyesHTTP status code.
dataRefreshResponseDtoyes

401 — Unauthorized - token invalid, expired, or missing​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

default — Shared error envelope returned by the application exception filter.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

Example response​

[]

GET /auth/session​

AuthController_getSession

Get current session info

Get current session info

Authentication: bearer

Responses​

200 — Session info retrieved; timestamps are ISO 8601 strings in JSON.​

Content type: application/json

Schema: ApiSuccessEnvelopeMetadataDto & object

FieldTypeRequiredDescription
errorboolean enum: falseyesSuccessful response marker.
messagestringyesResponse message.
statusnumberyesHTTP status code.
dataSessionResponseDtoyes

401 — Unauthorized - missing or invalid JWT token​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

default — Shared error envelope returned by the application exception filter.​

Content type: application/json

Schema: ApiErrorEnvelope

FieldTypeRequiredDescription
errorboolean enum: trueyes
messageoneOf: string | array<string>yes
statusintegeryesHTTP status code.
messagestringyes
statusCodeintegeryesHTTP status code.

Example response​

[]

Previous group: Health · Next group: bundle