Gets the list of teams underneath a company based on the authenticated account.
HTTP
POST https://www.squidalerts.com/api/authentication/token
Request Body
Name | Required | Type | Description |
---|---|---|---|
Username | True | string | The username / email address to login with |
Password | True | string | The password associated with the account |
Examples
Request Body
JSON
{
'username': 'bob@mycompany.com',
'password': 'MySuperSecretPassword'
}
Sample Response
Status code: 200
JSON
{
"email": null,
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"expires_in": 3600,
"token_type": "Bearer",
"error": null
}
Using the Authorization Token
Tokens must be passed to subsequent API calls as a bearer token in the authorization header.
For example:
curl -H "Authorization: Bearer YourAuthorizationToken" https://www.squidalerts.com/api/teams
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article