GWID Core
  1. Authentication
GWID Core
  • Authentication
    • Signup
      POST
    • Login
      POST
  • User
    • Get Profile
      GET
  • Gateway
    • Get User Gateway
      GET
    • Create AWS Gateway
      POST
  • Region
    • Get AWS Regions
      GET
  • AWS Credentials
    • Add AWS Credentials
      POST
    • Get AWS Credentials
      GET
  • EC2
    • Get EC2 Instance Types
      GET
  1. Authentication

Login

Prod Env
https://api.gwid.io/api/v1
Prod Env
https://api.gwid.io/api/v1
POST
https://api.gwid.io/api/v1
/auth/login
Maintainer:Charles Duruaku

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gwid.io/api/v1/auth/login' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "string",
    "password": "string"
}'
Response Response Example
{"data":{"id":"e58921f9-0e9b-419f-89ff-d68d91ad7be2","role":"regular","access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU1ODkyMWY5LTBlOWItNDE5Zi04OWZmLWQ2OGQ5MWFkN2JlMiIsInJvbGUiOiJyZWd1bGFyIiwiaXNzIjoibG9sYXJwYXkiLCJleHAiOjE3NTM3NDc3ODQsIm5iZiI6MTc1MTE1NTc4NCwiaWF0IjoxNzUxMTU1Nzg0fQ.ZzuWcn1CdM4ZfDdpVayqdh6Sn5AEXwWIpn0rmqeACKE"},"success":true}
Modified at 2025-08-04 09:06:05
Previous
Signup
Next
Get Profile
Built with