Skip to main content
POST
Create authorized user
Required permissions:
  • authorized_user:create
  • member:email:read

인증

Authorization
string
header
필수

An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.

Scopes

authorized_user:create
member:email:read

본문

application/json

Parameters for CreateAuthorizedUser

account_id
string
필수

The ID of the company to add the authorized user to.

예시:

"biz_xxxxxxxxxxxxxx"

role
enum<string>
필수

The role to assign to the authorized user within the company. Supported roles: 'moderator', 'sales_manager'.

사용 가능한 옵션:
owner,
admin,
partner,
sales_manager,
moderator,
advertiser
user_id
string
필수

The ID of the user to add as an authorized user.

예시:

"user_xxxxxxxxxxxxx"

elevation
object | null

Re-authentication proof required to perform this sensitive action.

send_emails
boolean | null

Whether to send notification emails to the user on creation.

응답

A successful response

A user who belongs to a company's team with access determined by their assigned role.

company
object
필수

The company this authorized user has access to.

id
string
필수

The team member's ID. It may start with ausr_ or mber_; treat it as opaque.

예시:

"ausr_xxxxxxxxxxxxx"

role
enum<string>
필수

The permission role assigned to this authorized user within the company.

사용 가능한 옵션:
owner,
admin,
partner,
sales_manager,
moderator,
advertiser,
app_manager,
support,
manager,
workforce,
custom
user
object
필수

The user account linked to this authorized user record.