Create partner contact

Create a new partner contact (up to 100 contacts allowed per partner).

Note: POST calls create new data, and do not affect existing data.

Request
Security:
path Parameters
partnerId
required
string

The ID of the partner. Obtain this from GET /partner-contact.

Example: 62
Request Body schema: application/json
name
required
string

The name assigned to the entity. The partner contact name is assigned in the POST /partners/{partnerId}/contacts call.

email
required
string <email> (Email) ^\S+@\S+\.\S{2,}$

The email address of the entity.

password
required
string <password> (Password) >= 8 characters

The password must contain at least eight characters, including one upper-case letter, one lower-case letter, and one number. The password may consist of a combination of letters, numbers, and special characters.

accessLevel
string (accessLevel)
Default: "editor"

The access level of the entity.

Enum: "viewer" "editor" "editorWithoutMediaAccess"
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

post/partners/{partnerId}/contacts
Request samples
application/json
{
  • "name": "Harry",
  • "email": "email@email.com",
  • "password": "123Abcd!",
  • "accessLevel": "viewer"
}
Response samples
application/json
{
  • "name": "Harry",
  • "email": "email@email.com",
  • "id": 23,
  • "role": "partner"
}