Custom Role Creation APIAPI Explorer

Introduction

API Introduction

Custom Role Creation API enables you to create an internal custom role.

API Calling

The API enables you to create an internal custom role.

Request URL: https://api.jodoo.com/api/v5/corp/role/create

Request Rate: 20 times/second

Request Method: POST

Request Parameters:

Parameter

Type

Required

Description

name

String

Yes

Role name

group_no

Number

Yes

Role group number

Sample Request:

{
    "group_no": 2547,
    "name": "Reseaech and development center"
}

Responses:

Parameter

Type

Required

Description

role_no

Number

Yes

Role number

group_no

Number

No

Role group number

name

String

Yes

Role name

type

Number

Yes

Role types

0: regular role

status

Number

Yes

Status

  • 0: unconfirmed members
  • 1: joined

Sample Response:

{
  "role": {
    "role_no": 2558,
    "group_no": 2547,
    "name": "Reseaech and development center",
    "type": 0,
    "status": 1
  }
}

Was this information helpful?
Yes
NoNo
Need more help? Contact support