---
title: "createRegistrationAnswer"
method: POST
path: "/registrations/{registration}/answers"
tags: ["Answer"]
---

# createRegistrationAnswer

`POST /registrations/{registration}/answers`

Create an Answer for a Registration

## Path parameters

- `registration` integer, required

## Request body

- object
  - `answer` string — Answer content
  - `question_id` integer, required — Primary identifier of associated Question

## Response `200`

Success

- Answer
  - `answer` union — Answer content. A string for most question types, but a JSON boolean when the associated Question.type is 'boolean' -- see Answer::getAnswerAttribute().
    - string
    - boolean
  - `answerable_id` integer, nullable — Primary identifier of associated Fundraising Entity object. Required with answerable_type
  - `answerable_type` 'fundraising_team' | 'fundraising_page' | 'transaction' | 'campaign_registration', nullable — Type of associated Fundraising Entity. Required with answerable_id
  - `campaign_id` integer — Primary identifier of associated Campaign
  - `created_at` string, date-time — Date/time of initial record creation
  - `id` integer — Primary identifier of record
  - `member_id` integer — Primary identifier of associated Member
  - `question_id` integer — Primary identifier of associated Question
  - `updated_at` string, date-time, nullable — Date/time of last record update

## Other responses

- `403` — Requester is not authorized to perform action
- `404` — Registration not found

---

[API](https://skmtc.net/gofundme/apis/gofundme-pro-api.md) · [All operations](https://skmtc.net/gofundme/apis/gofundme-pro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gofundme/gofundme-pro-api/revisions/6d020bee17cc/schema)
