Agencies

Create an Agency

Create an agency

post/agencies

Request

  • Base URL
    https://api.mediamath.com/api/v3.0
  • Auth
    OAuth 2
    Authorization codehttps://auth.mediamath.com/authorize
    Token URLhttps://auth.mediamath.com/oauth/token
    Scopesoffline_access, manage:services
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

ads_txt_verified'ANY' | 'AUTHORIZED_ONLY' | 'AUTHORIZED_DIRECT_ONLY' | 'NONE'
allow_x_adv_optimizationboolean
allow_x_adv_pixelsboolean
dmp_enabled'disabled' | 'inherits'
eligible_for_data_sharingboolean
namestring required
statusboolean
logostring
mfa_avoidance'INHERIT' | 'ALLOW_ALL' | 'EXCLUDE_MFA'
organization_idinteger required

Example request

{
  "organization_id": 17
}

Response

Agency created response

Example response

{
  "meta": {
    "status": "success"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.