Competitor Tracker & Co. Docs

Invite a new member to the organization. Sends an invitation email; the recipient signs in via the link to join. Admin-only.

Invite a new member to the organization. Sends an invitation email; the recipient signs in via the link to join. Admin-only — Competitor Tracker & Co. API.

Required role: admin or higher (organization-level).

Required scope: invites:write (for both OAuth2 tokens and API keys).

POST
/v1/org/invites

Authorization

X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://api.competitortracker.io/v1/org/invites" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{
  "id": "string",
  "email": "string",
  "role": "admin",
  "expiresAt": "2019-08-24T14:15:22Z"
}
{
  "code": "string",
  "message": "string",
  "resolution": "string"
}
{
  "code": "string",
  "message": "string",
  "resolution": "string"
}