Opportunities
Body
objectOptional
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Responses
200
Success
application/json
objectOptional
400
Bad request
application/json
401
Unauthorized
application/json
500
Server error
application/json
post/get-opportunities
POST /functions/v1/get-opportunities HTTP/1.1
Host: your-project-ref.supabase.co
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Body
objectOptional
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Responses
200
Success
application/json
objectOptional
400
Bad request
application/json
401
Unauthorized
application/json
500
Server error
application/json
post/get-opportunity
POST /functions/v1/get-opportunity HTTP/1.1
Host: your-project-ref.supabase.co
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Authorizations
AuthorizationstringRequired
Privy access token
Body
objectOptional
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Responses
200
Success
application/json
objectOptional
400
Bad request
application/json
401
Unauthorized
application/json
500
Server error
application/json
post/create-opportunity
POST /functions/v1/create-opportunity HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Last updated