Connection and Security
API Access Using Postman
The API is protected by an API key. Postman can be used during development to try out the API.
Access token parameters will be provided by Omocom, one set for Beta environment and one for Production environment. The location of the Beta API is at https://api-beta.omocom.se
and will be used for all development and testing.
Parameter | Value |
---|---|
Grant Type | Client Credentials |
Access Token URL | https://login.microsoftonline.com/88410344-ec97-405b-81ab-2953d91044bc/oauth2/v2.0/token/ |
Client ID | Provided by Omocom, for Beta and Prod respectively |
Client Secret | As above |
Scope | As above |
Tokens are valid for two hours, after which time a new token must be fetched.
API Access Using Curl
Alternately, Curl can be used to request an API token. Description to be added.