GET
/
v1
/
petition.get-petition
curl --request GET \
  --url https://api.mobilizehub.com/v1/petition.get-petition \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "name": "<string>",
    "title": "<string>",
    "goal": 123,
    "target": "<string>",
    "description": "<string>",
    "ask": "<string>",
    "content": "<any>",
    "imageId": "<string>",
    "signatures": 123,
    "status": "DRAFT",
    "organizationId": "<string>",
    "image": {
      "name": "<string>",
      "url": "<string>",
      "alt": "<string>",
      "type": "<string>"
    }
  },
  "object": "petition"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

petitionId
string
required
organizationId
string
required

Response

200
application/json

Retrieve a petition

The response is of type object.