Last updated

You can now review flagged posts programmatically instead of clicking through X-Ray.


New: POST /creators/{id}/posts/{post_id}/safety/

Marks a post as safe for your organization, or removes the mark. It is the same action as Mark as safe in X-Ray: the mark is per organization and does not change any scores.

curl -X POST https://api.vwd.ai/api/public/v1/creators/42/posts/9876/safety/ \
  -H "Authorization: Api-Key $VWD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform": "tiktok", "is_safe": true}'
{"id": 9876, "platform_name": "tiktok", "is_safe": true}
  • Take post_id and platform from the id and platform_name of a post returned by GET /creators/{id}/posts/. Post IDs are unique per platform, so platform is required.
  • Send "is_safe": false to remove the mark.
  • Calls are idempotent. Repeating a call returns 200 and changes nothing.

Fixed: is_dismissed on the posts endpoints

GET /creators/{id}/posts/, /brands-posts/ and /compliance-posts/ returned is_dismissed: false for every post when called with an API key. They now return true for posts your organization marked as safe, whether the mark was made in X-Ray or through the new endpoint.

Documented: age_band and autofilled on creators

Creator responses (GET /creators/{id}/, GET /creators/search/) already carried these two fields. They are now in the reference:

  • age_band: an age range (13_17, 18_24, 25_34, 35_44, 45_54, 55_plus, or empty when unknown).
  • autofilled: which personal fields VwD inferred from the creator's published content instead of a person entering them. When age_band is in this list, the range is our estimate.