enVision Cloud / API Guide

Company

API endpoint for retrieving the Company name

Overview

enVision Cloud provides an endpoint that returns the name of the company that the Bearer token belongs to. It can be used, for example, to confirm that a token is valid and belongs to the expected company.

You must include a valid Bearer token in the Authorization header of any request to enVision Cloud APIs. Tokens can be managed in the enVision Cloud Portal

Response Format

The response is the company name as plain text (Content-Type: text/plain), not JSON.

Example Response
PHD Solutions Inc

Endpoints

Company

Returns the name of the company that the Bearer token belongs to.

/api/company
Example Request
curl "https://api.ece.phdsolutions.ca/api/company" \
-X GET \
-H "Authorization: Bearer YOUR_AUTH_TOKEN"

Request Parameters

None.


Copyright © PHD Solutions 2024