Identities

Resource Fields

Name Type Read-only Description
facebook_id string
user_name string
full_name string
email string
bio string
birth_date timestamp ISO-8601 Format
website string
profile_url string
locale string
is_verified boolean Default: false
is_primary boolean Default: false
is_validated boolean Default: false
created_at timestamp ISO-8601 Format
updated_at timestamp ISO-8601 Format

Metadata




 
 




Actions

Add an identity

RESOURCE FIELDS

Name Type Read-only Description
link string

Callback handler

GET /api/v1/facebook/identity/callback.json

Information

Allowed for Customers, Collaborators, Agents, Admins & Owners

Arguments

Name Type Mandatory Description
callback string
callback should be same as used in to retrieve link
code string
The Facebook code that appears in the querystring
state string
The Facebook state that appears in the querystring

Response

    {
        "status": 201,
        "data": {
            "identity": {
    "id": 1,

    "facebook_id": "1407638772888867",
    "user_name": null,
    "full_name": "Jordan Mitchell",
    "email": null,
    "bio": null,
    "birth_date": null,
    "website": null,
    "profile_url": null,
    "locale": null,
    "is_verified": false,
    "is_primary": false,
    "is_validated": false,
    "created_at": "2015-07-25T17:47:14+05:00",
    "updated_at": "2015-07-25T17:47:14+05:00",

    "resource_type": "identity_facebook"

    ,"resource_url": "https://brewfictus.kayako.com/api/v1/identities/facebook/1"

}

        },
        "resource": "facebook_identity_callback"
    }