Create C2C connection request
GraphQL endpoint: /user
Creates a connection request to another user with the given connection type (FRIEND, FAMILY, PROFESSIONAL or OTHER). The request stays PENDING until the invited user responds.
Query
mutation (
$invitedUserId: ID!
$connectionType: C2cConnectionType!
) {
createC2cConnectionRequest (
invitedUserId: $invitedUserId
connectionType: $connectionType
) {
id
status
type
insertedAt
respondedAt
updatedAt
user {
id
}
invitedUser {
id
}
}
}
Variables
Response
Last updated