Organization

Endpoints for managing bounties, contributors, and organization profiles.

Create a new bounty

post
Authorizations
Body
userIdstringRequired
Responses
200
Bounty created
post
POST /api/organization/bounty HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 126

{
  "values": {
    "name": "text",
    "description": "text",
    "deadline": "2025-07-13T20:11:38.173Z",
    "amount": 1,
    "tags": "text"
  },
  "userId": "text"
}
200

Bounty created

No content

Delete a bounty

delete
Authorizations
Path parameters
idstringRequired
Responses
200
Bounty removed
delete
DELETE /api/organization/bounty/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Bounty removed

No content

Update bounty details

put
Authorizations
Path parameters
idstringRequired
Body
namestringOptional
descriptionstringOptional
deadlinestring · date-timeOptional
amountnumberOptional
statusstring · enumOptionalPossible values:
submittedLinkstring · uriOptional
contributorIdstringOptional
tagsstring[]Optional
Responses
200
Bounty updated
put
PUT /api/organization/bounty/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 178

{
  "name": "text",
  "description": "text",
  "deadline": "2025-07-13T20:11:38.173Z",
  "amount": 1,
  "status": "open",
  "submittedLink": "https://example.com",
  "contributorId": "text",
  "tags": [
    "text"
  ]
}
200

Bounty updated

No content

List bounties for an organization

get
Authorizations
Path parameters
uidstringRequired
Responses
200
Bounty list
get
GET /api/organization/bounties/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Bounty list

No content

Get contributor details

get
Authorizations
Path parameters
idstringRequired
Responses
200
Contributor details
get
GET /api/organization/contributor/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Contributor details

No content

Update contributor

put
Authorizations
Path parameters
idstringRequired
Body
namestringOptional
emailstring · emailOptional
linkedinstring · uriOptional
portfoliostring · uriOptional
roleTitlestringOptional
accountNumberstringOptional
routingNumberstringOptional
skillsstringOptional
Responses
200
Contributor updated
put
PUT /api/organization/contributor/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 188

{
  "name": "text",
  "email": "[email protected]",
  "linkedin": "https://example.com",
  "portfolio": "https://example.com",
  "roleTitle": "text",
  "accountNumber": "text",
  "routingNumber": "text",
  "skills": "text"
}
200

Contributor updated

No content

Unassign a contributor from bounty

put
Authorizations
Path parameters
bountyIdstringRequired
Responses
200
Contributor unassigned
put
PUT /api/organization/bounties/{bountyId}/unassign HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Contributor unassigned

No content

Pay bounty reward

post
Authorizations
Path parameters
bountyIdstringRequired
Responses
200
Payment sent
post
POST /api/organization/bounties/{bountyId}/pay HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Payment sent

No content

Get organization profile

get
Authorizations
Path parameters
uidstringRequired
Responses
200
Organization profile
get
GET /api/organization/profile/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Organization profile

No content

Save organization profile

put
Authorizations
Path parameters
uidstringRequired
Body
apiKeystringOptional
companyNamestringOptional
descriptionstringOptional
discordAccessTokenstringOptional
discordChannelIdstringOptional
discordEnabledbooleanOptional
discordGuildstringOptional
discordSendModestringOptional
emailstring · emailOptional
githubTokenstringOptional
industrystringOptional
repostringOptional
websitestring · uriOptional
Responses
200
Profile saved
put
PUT /api/organization/profile/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 292

{
  "apiKey": "text",
  "companyName": "text",
  "description": "text",
  "discordAccessToken": "text",
  "discordChannelId": "text",
  "discordEnabled": true,
  "discordGuild": "text",
  "discordSendMode": "text",
  "email": "[email protected]",
  "githubToken": "text",
  "industry": "text",
  "repo": "text",
  "website": "https://example.com"
}
200

Profile saved

No content

View payment history

get
Authorizations
Path parameters
uidstringRequired
Responses
200
Organization payment history
get
GET /api/organization/payments/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Organization payment history

No content

Organization analytics

get
Authorizations
Path parameters
uidstringRequired
Responses
200
Analytics information
get
GET /api/organization/analytics/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Analytics information

No content

Last updated