Skip to main content
Create a milestone achievement

Authorizations

Authorization
string
header
required

A Tightknit admin API key, sent as Authorization: Bearer <key>.

Query Parameters

expand

Repeatable. Returns the named relation inline. One of: milestone, profile, given_by, award_assignment.

Available options:
milestone,
profile,
given_by,
award_assignment

Body

application/json
milestone_id
string
required

The custom milestone to give. Its action must be custom.

Pattern: ^mile_[a-zA-Z0-9]{12}$
profile_id
string
required

The member receiving the milestone.

Pattern: ^prof_[a-zA-Z0-9]{12}$
given_by_id
string

The member credited with giving the milestone, who must be an active member. Omit when nobody is.

Pattern: ^prof_[a-zA-Z0-9]{12}$
notify
boolean
default:true

Sends the member their journey progress or completion direct message. Completing the journey still gives the journey's award as usual.

Response

Success

object
enum<string>
required

Always milestone_achievement.

Available options:
milestone_achievement
id
string
required

Unique identifier for the object.

Example:

"mach_2p7r4v9c1kxd"

created_at
string<date-time>
required

When the member completed the milestone.

milestone_id
string
required

The id of the milestone completed.

profile_id
string
required

The id of the profile that completed the milestone.

given_by_id
string | null
required

The id of the profile that gave the member a custom milestone. Null when the member earned it, when it was given without a giver, or once the giver has been erased.

milestone
object | null

The milestone completed. Present only when milestone is expanded.

profile
object | null

The member who completed it. Present only when profile is expanded.

given_by
object | null

The giver. Present only when given_by is expanded.

award_assignment
object | null

The award given for the completion, null when none was. Present only when award_assignment is expanded.