Skip to main content
POST
/
v1
/
orgs
/
{org_id}
/
reps
Create (or upsert) a rep
curl --request POST \
  --url http://localhost:3000/v1/orgs/{org_id}/reps \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rep_id": "<string>",
  "name": "<string>",
  "email": "jsmith@example.com",
  "metadata": {}
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string
required

Body

application/json
rep_id
string
required
Required string length: 1 - 256
name
string
Maximum string length: 200
email
string<email>
metadata
object

Response

200

Default Response