GET/users/{userId}/link-url
Gets a URL that allows LINE WORKS or LINE users to add a member as an external contact.
Caution
- The API operation gets only the users who have permission to chat with external accounts.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
user
user.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | Member ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| userId | string | Member ID readOnly : true |
| linkUrl | string | URL for adding an external message contact |
example
1{2 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x",3 "linkUrl": "https://works.do/RaNdomW"4}Forbidden
Not Found