Skip to main content
PUT
/
cfs-contacts
/
update
/
{contact_id}
Update Contact
curl --request PUT \
  --url https://api.swoogo.com/api/v1/cfs-contacts/update/{contact_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data reviewer=1 \
  --data submitter=1
{
  "company": "company name",
  "contact_id": 1,
  "created_at": "2022-06-26 14:30:00",
  "email": "user@domain.com",
  "event_id": 1,
  "first_name": "firstname",
  "id": 1,
  "job_title": "jobtitle",
  "last_name": "lastname",
  "reviewer": true,
  "reviewer_role": "all_access",
  "submitter": true,
  "updated_at": "2022-06-26 14:30:00"
}

Authorizations

Authorization
string
header
required

OAuth 2.0 bearer token obtained from POST /oauth2/token. Tokens expire after 30 minutes. Include in the Authorization header as Bearer {access_token}.

Path Parameters

contact_id
integer
required

integer - required - The ID of the contact you want to update

Example:

1

Body

application/x-www-form-urlencoded
reviewer
string
Example:

"1"

submitter
string
Example:

"1"

Response

Update An Existing Contact

company
string
Example:

"company name"

contact_id
number
Example:

1

created_at
string
Example:

"2022-06-26 14:30:00"

email
string
Example:

"user@domain.com"

event_id
number
Example:

1

first_name
string
Example:

"firstname"

id
number
Example:

1

job_title
string
Example:

"jobtitle"

last_name
string
Example:

"lastname"

reviewer
boolean
Example:

true

reviewer_role
string
Example:

"all_access"

submitter
boolean
Example:

true

updated_at
string
Example:

"2022-06-26 14:30:00"