# KakaoTalk

> Read your KakaoTalk profile and eligible friends, and send KakaoTalk messages.

App · 5 actions. Web page: https://docs.lodol.com/docs/integrations/kakaotalk

## Actions

### Get Kakao sign-in information

Read the signed-in account ID, application ID and access token expiration.

**Inputs**: None.

**Outputs**

- `data` (object): The response from KakaoTalk.

**Example output**

```json
{
  "data": {
    "app_id": 1,
    "expires_in": 1,
    "id": 1
  }
}
```

### Get KakaoTalk profile

Read your KakaoTalk nickname and profile images.

**Inputs**: None.

**Outputs**

- `data` (object): The response from KakaoTalk.

**Example output**

```json
{
  "data": {
    "countryISO": "example",
    "nickName": "example",
    "profileImageURL": "example",
    "thumbnailURL": "example"
  }
}
```

### List eligible friends

List KakaoTalk friends who can be shared with this application.

**Inputs**

- Offset (`offset`, number): Offset. At least 0.
- Limit (`limit`, number): Limit. From 1 to 100.
- Order (`order`, text): Order. One of: `asc`, `desc`.
- Friend order (`friend_order`, text): Friend order. One of: `nickname`, `favorite`.

**Outputs**

- `data` (object): The response from KakaoTalk.

**Example output**

```json
{
  "data": {
    "after_url": "example",
    "before_url": "example",
    "elements": [
      {
        "favorite": true,
        "id": 1,
        "profile_nickname": "example",
        "profile_thumbnail_image": "example",
        "uuid": "example"
      }
    ],
    "total_count": 1
  }
}
```

### Send message to friends

Send a KakaoTalk text message with a link to selected friends.

**Inputs**

- Message (`message`, text, required): Message.
- Web URL (`web_url`, text, required): Web URL.
- Mobile web URL (`mobile_web_url`, text): Mobile web URL.
- Friend IDS (`friend_ids`, list, required): Friends who should receive the message.

**Outputs**

- `data` (object): The response from KakaoTalk.

**Example output**

```json
{
  "data": {
    "failure_info": [
      {}
    ],
    "successful_receiver_uuids": [
      "example"
    ]
  }
}
```

### Send message to yourself

Send a KakaoTalk text message with a link to your own chat.

**Inputs**

- Message (`message`, text, required): Message.
- Web URL (`web_url`, text, required): Web URL.
- Mobile web URL (`mobile_web_url`, text): Mobile web URL.

**Outputs**

- `data` (object): The response from KakaoTalk.

**Example output**

```json
{
  "data": {
    "result_code": 1
  }
}
```
