Store Mobile Advertising ID

POST /v1/client/user/maid

Stores the mobile advertising ID (GAID/IDFA) for the current user

application/json

Body Required

  • maid string Required

    Mobile Advertising ID (GAID or IDFA)

  • type string Required

    Type of mobile advertising ID

    Values are gaid or idfa.

Responses

  • 200 application/json

    Mobile advertising ID stored successfully

    Hide response attributes Show response attributes object
    • success boolean
    • message string
  • 400

    Bad Request

  • 403

    Forbidden (user banned)

  • 500

    Internal Server Error

POST /v1/client/user/maid
curl \
 --request POST 'https://api.bitlabs.ai/v1/client/user/maid' \
 --header "X-Api-Token: $API_KEY" \
 --header "X-User-Id: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"maid":"string","type":"gaid"}'
Request examples
{
  "maid": "string",
  "type": "gaid"
}
Response examples (200)
{
  "success": true,
  "message": "string"
}