Add Team Member

Add a team member to an Opsgenie team.

Note

Make sure that the API key that's used to create the Opsgenie connection for this card is not team-specific. Otherwise, any input value in the Team ID or Team Name fields on this card will not override the team that's specified by a team-specific API key. It is recommended to create and manage API keys on the Opsgenie API key management page.

Options

Field Definition Type Required
Team Identifier Identifier of the team. Choose one of the following options:
  • Team ID: Unique ID of the team.
  • Team Name: Name of the team.
Dropdown TRUE
User Identifier Identifier of the user. Choose one of the following options:
  • User ID: Username or ID of the user.
  • Username: User's email address.
Dropdown TRUE

Input

These fields are dynamically generated based on the fields selected in Options.

Field Definition Type Required
Team ID Unique ID of the team.

This field displays when Team ID is selected from the Team Identifier Options.

String TRUE
Team Name Name of the team.

This field displays when Team Name is selected from the Team Identifier Options.

String TRUE
User ID Username or ID of the user.

This field displays when User ID is selected from the User Identifier Options.

String TRUE
Username User's email address.

This field displays when Username is selected from the User Identifier Options.

String TRUE
User Role Name of the role assigned to the user.
  • Admin

  • User

Dropdown FALSE

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number
Result Result of the API call.

For example, Added.

String

Related topics

Opsgenie connector

Workflow elements

Opsgenie API overview