Newsroom API Documentation
Everything you need to integrate pr.co into your website or app.

Supported Formats

json

GET /v1/pressrooms/:pressroom_id/pr_contacts/:id.json

Retrieve a specific sound for a pressroom

Supported Formats

json

Errors

Code Description
404 Missing

Examples

GET /v1/pressrooms/1005/pr_contacts/1001.json
200
{
  "data": {
    "name": "Example PR contact",
    "contact_info": "0612001200 or dennis@pr.co",
    "id": 1001,
    "urls": {
      "twitter": "https://twitter.com/prdotco",
      "skype": "skype:prdotco",
      "avatar": "https://pbs.twimg.com/profile_images/378800000726257713/dea939141435719cd3c8150b94b5879a_bigger.png"
    },
    "usernames": {
      "skype": "prdotco",
      "twitter": "prdotco"
    },
    "avatar": {
      "medium_square": {
        "width": 100,
        "height": 100,
        "url": null
      },
      "large_square": {
        "width": 500,
        "height": 500,
        "url": null
      },
      "original": {
        "width": null,
        "height": null,
        "url": null
      }
    }
  }
}

Params

Param name Description
pressroom_id
required

Pressroom id or pressroom domain

Validations:

  • Must be a String

id
required

Pr Contact id

Validations:

  • Must be a String


GET /v1/pressrooms/:pressroom_id/pr_contacts.json

Retrieves a list of pr_contacts for a specific pressroom

Supported Formats

json

Errors

Code Description
404 Missing

Examples

GET /v1/pressrooms/1005/pr_contacts.json
200
{
  "data": [
    {
      "name": "Example PR contact",
      "contact_info": "0612001200 or dennis@pr.co",
      "id": 1001,
      "urls": {
        "twitter": "https://twitter.com/prdotco",
        "skype": "skype:prdotco",
        "avatar": "https://pbs.twimg.com/profile_images/378800000726257713/dea939141435719cd3c8150b94b5879a_bigger.png"
      },
      "usernames": {
        "skype": "prdotco",
        "twitter": "prdotco"
      },
      "avatar": {
        "medium_square": {
          "width": 100,
          "height": 100,
          "url": null
        },
        "large_square": {
          "width": 500,
          "height": 500,
          "url": null
        },
        "original": {
          "width": null,
          "height": null,
          "url": null
        }
      }
    }
  ],
  "paging": {
    "page": 0,
    "limit": 30,
    "total": 30
  }
}

Params

Param name Description
pressroom_id
required

Pressroom id or pressroom domain

Validations:

  • Must be a String