v1

latestOpenAPI 3.0.22026-07-24800528.1 KB
Applications

Decision an Application

Update the decision of the given Application

patch/v2/applications/{application_key}/decision

Path parameters

application_keystring required

The key of the application we're applying a decision to

Request body

approvedboolean nullable

The decision approval state, null removes existing decision

decline_reasonstring nullable

The reason associated with the provided decision

group_id_overrideinteger nullable

The override group to move the Partner to after applying decision

group_key_overridestring nullable

The override group to move the partner to after applying decision. If supplied, will take precedence over any group_id_override value also set.

manager_emailstring nullable

The partner manager to assign to the partner after applying decision.

Example request

{
  "approved": true,
  "decline_reason": "Ineligible based on Partner Country",
  "group_id_override": 1234,
  "group_key_override": "grup_Ar4kucsdFxKgQs",
  "manager_email": "manager@domain.com"
}

Response

Update the decision of the given Application

messagestring required
statusinteger required

Example response

{
  "data": {
    "created_at": 1574181282399,
    "key": "co_a80cb515fe",
    "updated_at": 1574181282399,
    "actioned_by": "Professor Xavier",
    "content": {
      "email": "dog@frog.com",
      "first_name": "Walter",
      "last_name": "White"
    },
    "decline_reason": "Not a valid application",
    "group_name": "Cooler dudes",
    "partnership_source": "ps",
    "team_color": "blue",
    "team_key": "stck_12334",
    "team_logo": "profile.png",
    "team_name": "Cool dudes"
  }
}