Skip to main content
POST
Approve a request to join

Authorizations

X-API-Key
string
header
required

Path Parameters

request_id
string<uuid>
required

Query Parameters

dry_run
boolean
default:false

Run every check the answer runs and answer the request as it would leave it, adding, declining and emailing nobody.

Response

Successful Response

A person who signed up with the company's work address and asked to join.

decided_at
string<date-time> | null
required

When it was approved or declined.

decided_by
string | null
required

The user id of the admin who approved or declined it; null while waiting.

id
string<uuid>
required
requested_at
string<date-time>
required

When they asked.

requester_email
string
required

The address they signed up with.

requester_name
string | null
required

The name the person signed in with; null when they gave none.

status
enum<string>
required

pending waits for an admin; approving is being added this moment; approved is now a member; declined was turned down. The person is told an approval or a decline by email once that email is set up (answer_emailed).

Available options:
pending,
approving,
approved,
declined
answer_emailed
boolean
default:false

On an approve or decline answer: true when the person was emailed it. False while that email is not set up yet, and on every row of the list.

decided_by_name
string | null

That admin's name, or null when not known (they left, or it still waits).