Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WeFitter token API

Before any calls can be made to wefitter, BasicAuth is needed to verify the identity of the requesting party.This call will result into a Bearer token which has administrator privileges and is valid for 1 day.This token can be used to create profiles, challenges, etc.The returned bearer is a JWT (JSON Web Token).

WeFitter token API is one of 9 APIs that WeFitter publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include token. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 2.0, at version v1.3.

Requests are made against the base URL https://api.wefitter.com/api/v1.3.

1 operations 1 paths 1 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
v1.3
Base URL
https://api.wefitter.com/api/v1.3
Authentication
basic, API Key, API Key
License
BSD License
Terms of Service
Resource Areas
1

Authentication & Security 3

WeFitter token API declares 3 security schemes for authenticating requests. It defines a basic scheme (Basic). An API key is passed in the header as Authorization (BearerProfile). An API key is passed in the header as Authorization (BearerAdmin). By default, every request must be authenticated.

  • Basic — Basic Authentication is used to create administrator bearer tokens. Once a bearer token has been made, remove this auth. ('logout' in Swagger')
  • BearerProfile — Bearer authentication for logged-in profiles. When using the GUI, please don't forget to prefix your bearer tokens with the text 'bearer', followed by a space.
  • BearerAdmin — Bearer authentication for administrators. When using the GUI, please don't forget to prefix your bearer tokens with the text 'bearer', followed by a space.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

token 1

Before any calls can be made to wefitter, BasicAuth is needed to verify the identity of the requesting party. This call will result into a Bearer token which has administrator pri…

POST
/token/
Create Token
token_create 1 param → 201

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Token (1 property). Each schema is shown below with its type and property counts.

Token
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wefitter-token-api-openapi.yml Raw ↑

Other APIs WeFitter publishes across the network.

WeFitter app API
WeFitter challenge API
WeFitter connection API
WeFitter insights API
WeFitter loyalty API
WeFitter notification API
WeFitter profile API
WeFitter team API