Fetch a task

GET /accounts/{account_id}/alerts/{alert_id}/mentions/{mention_id}/tasks/{task_id}

You can fetch all data concerning a specific task.

Parameters

  • account_id (string) - Id of the account
  • alert_id (number) - Id of the alert
  • mention_id (number) - Id of the mention
  • task_id (number) - Id of the task

Page content


Minimal curl example

curl -ig 'https://api.mention.net/api/accounts/{account_id}/alerts/{alert_id}/mentions/{mention_id}/tasks/{task_id}' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    -H 'Accept-Version: 1.19'

Request example

  • Headers
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept-Version: 1.19
  • Body

None


Response example

  • Body
{
        "id": "140676",
        "assigned_to_account": {
            "id": "YOUR_TEAMMATE_ACCOUNT_ID",
            "name": "R\u00e9mi",
            "email": "remi@nasa.com",
            "language_code": "en",
            "registration_country": "FR",
            "inviter_id": "438404_163cnxte",
            "created_at": "2015-08-05T14:50:38.0+00:00",
            "updated_at": "2016-01-20T15:27:27.0+00:00",
            "features": ["mention_feed_filter_unread", "twitter_dashboard", "listening_dashboard", "competitive_dashboard"],
            "timezone": "Europe\/Berlin",
            "hide_mark_all_read_mentions": false,
            "redirector_enabled": false,
            "grouped_email_notification": false,
            "default_email_notification_frequency": "never",
            "default_desktop_notification_frequency": "never",
            "default_push_notification_frequency": "hourly",
            "bucket": 0
        },
        "assigned_by_account": {
            "id": "YOUR_ACCOUNT_ID",
            "name": "John Doe",
            "email": "j.doe@nasa.com",
            "language_code": "en",
            "inviter_id": "326521_3cgnk1be",
            "created_at": "2014-09-30T10:03:54.0+00:00",
            "updated_at": "2016-01-21T13:26:27.0+00:00",
            "avatar_url": "https:\/\/d3gic6glhdnxm.cloudfront.net\/f6415b89f03f697eca5d0c7d464f1b82-089f3f993170d541.jpg",
            "features": ["mention_geo_filtering", "stats_email", "alert_wizard_3", "email_grouping", "mention_feed_filter_unread", "twitter_dashboard", "listening_dashboard", "competitive_dashboard"],
            "timezone": "Europe\/Berlin",
            "hide_mark_all_read_mentions": false,
            "redirector_enabled": false,
            "grouped_email_notification": true,
            "default_email_notification_frequency": "daily",
            "default_desktop_notification_frequency": "hourly",
            "default_push_notification_frequency": "hourly",
            "bucket": 82,
            "tester": true
        },
        "type": "read",
        "done": false,
        "permissions": {
            "mark_done": true,
            "delete": true
        },
        "created_at": "2016-01-21T13:26:27.0+00:00",
        "updated_at": "2016-01-21T13:26:27.0+00:00"
    }

Assigned to account

assigned_to_account

Information about the account to which the task was assigned.

Assigned by account

assigned_by_account

Information about the account from which the task was assigned.