API

MeOnboarding

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/me/onboarding/call create Updated onboarding progress
POST /api/v1/me/onboarding/claim create Updated onboarding progress
POST /api/v1/me/onboarding/dismiss create Updated onboarding progress

Fields

Field Type Required Description

create

POST /api/v1/me/onboarding/call

Operation ID: api_v1_me_onboarding_call.

Authentication: bearer token (bearerAuth).

Request body

application/json

The request body is object.

Responses

200: Updated onboarding progress

application/json

Property Type Required Description
claimed_count integer Yes Steps paid so far.
earned_cents integer Yes Credit paid so far
finished boolean Yes Every step is paid.
organization object,null Yes The workspace where steps count and credit is paid; null when the person belongs to none.
organization.name string Yes
organization.slug string Yes
referral object Yes
referral.open boolean Yes Whether more referrals can still pay.
referral.reward_cents integer Yes
referral.rewarded_count integer Yes
remaining_reward_cents integer Yes Credit the unpaid steps still pay.
steps array of object Yes
steps[].key enum: subscription, integration, github, automation, pull_request, call Yes
steps[].reward_cents integer Yes Credit this step pays.
steps[].state enum: todo, claimable, claimed Yes
total_reward_cents integer Yes Credit for paying every step.
visible boolean Yes Whether to show the onboarding card.
401: Authentication required
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/me/onboarding/claim

Operation ID: api_v1_me_onboarding_claim.

Authentication: bearer token (bearerAuth).

Request body

application/json

Property Type Required Description
step enum: subscription, integration, github, automation, pull_request, call Yes

Responses

200: Updated onboarding progress

application/json

Property Type Required Description
claimed_count integer Yes Steps paid so far.
earned_cents integer Yes Credit paid so far
finished boolean Yes Every step is paid.
organization object,null Yes The workspace where steps count and credit is paid; null when the person belongs to none.
organization.name string Yes
organization.slug string Yes
referral object Yes
referral.open boolean Yes Whether more referrals can still pay.
referral.reward_cents integer Yes
referral.rewarded_count integer Yes
remaining_reward_cents integer Yes Credit the unpaid steps still pay.
steps array of object Yes
steps[].key enum: subscription, integration, github, automation, pull_request, call Yes
steps[].reward_cents integer Yes Credit this step pays.
steps[].state enum: todo, claimable, claimed Yes
total_reward_cents integer Yes Credit for paying every step.
visible boolean Yes Whether to show the onboarding card.
401: Authentication required
403: Forbidden
404: Not found
422: The step is unfinished or already paid
502: Bad gateway

POST /api/v1/me/onboarding/dismiss

Operation ID: api_v1_me_onboarding_dismiss.

Authentication: bearer token (bearerAuth).

Request body

application/json

The request body is object.

Responses

200: Updated onboarding progress

application/json

Property Type Required Description
claimed_count integer Yes Steps paid so far.
earned_cents integer Yes Credit paid so far
finished boolean Yes Every step is paid.
organization object,null Yes The workspace where steps count and credit is paid; null when the person belongs to none.
organization.name string Yes
organization.slug string Yes
referral object Yes
referral.open boolean Yes Whether more referrals can still pay.
referral.reward_cents integer Yes
referral.rewarded_count integer Yes
remaining_reward_cents integer Yes Credit the unpaid steps still pay.
steps array of object Yes
steps[].key enum: subscription, integration, github, automation, pull_request, call Yes
steps[].reward_cents integer Yes Credit this step pays.
steps[].state enum: todo, claimable, claimed Yes
total_reward_cents integer Yes Credit for paying every step.
visible boolean Yes Whether to show the onboarding card.
401: Authentication required
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway