Authentication

Generating Your Access Token

Copy both the Client ID and Client Secret keys and create an HTTP request with the following body.

Description

Use the UI Management API credentials to authenticate your user and get back an access token to authorize further requests.

Method

POST htpps://console.fyber.com/api/v2/management/auth

Request Parameters

Key
Description
Type
Required
Example

grant_type

This key is constant and should always be completed for this API as "management_client _credentials"

String

Required

"management_client_ credentials"

client_id

The Client ID token from the UI received for authentication.

String

Required

“677eXXXXXXcdcc3fd790 deb46duyud4”

client_secret

The Client Secret token from the UI received for authentication.

String

Required

“ghhjhiGHXXXXXX87686"

Example Request

JSON
{
          "grant_type": "management_client_credentials",
          "client_id": "677e6543049XXXXXXXXX0deb46d2ecd4",
          "client_secret": "d0iSLq5y6XXXXXuOyM4blm8GwzQ
b2sLOlcBtsI9KvBx9tGuucM2kvrdxXXXXXPjIunXbATQTkHDjHv
VEVv1JgXFj0EUWmuNpNH53p9SnGWxwXXXXgdJSkCUDuHaDeFWH
z-prMEGftXXXXXXfa_-8mRZURDZu2d_CRnwZ-Z51EnuFszgEP0
4f1AjcKTVhNSw0rXXXXXXdKaGZNM4EPsV5SxLBZKKdQxa3PPW
L1Cb56U9ftviXPJKU47nAzXXXXXXXdfXKBsMCG2FX3nB7E2Ei
b_yHNK0EtXX4zFTr8uYRXXXXXXXCLMVRUxNjQ"
            }

Response Parameters

Key
Description
Type
Required
Example

accessToken

Token to be used to authorize future requests

String

Required

“eyJhbGciXXXXXXXXsInR5cCI6IkpXVC J9.eyJpYXQiOjE2Mjg2NzI4OTMsImV4c CI6MTYyODXXXXXXwiYXVkIjoibWFu YWdlbWVudEFXXXXN1YiI6IjM2MiJ9. cjx3AgYcI0XXXXYkVsO6F_7M72lu_p ”

tokenType

Only bearer token type is available

String

Required

“bearer”

expiresIn

The number of seconds for which the token is valid (3600 seconds = 1 hour)

String

Required

3600

Example Response

circle-info

When using the DT FairBid Management API, it's important to keep in mind the API requests limit. By default, the daily API requests limit is set to 1000 requests per day. This limit ensures fair usage and helps maintain the stability and performance of the system.

Last updated